From d65d91241f52fc714510174f1d2c71879fb95438 Mon Sep 17 00:00:00 2001 From: William Hearn Date: Sun, 5 Feb 2017 20:44:22 -0500 Subject: [PATCH] Issue #2619078 by sylus: Tokens: Dropdown arrow for Replacement Patterns not working correctly --- token.css | 5 ++++- token.pages.inc | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/token.css b/token.css index 5432f0f..729f87e 100644 --- a/token.css +++ b/token.css @@ -1,7 +1,6 @@ .token-tree { font-size: 0.85em; - margin-left: 19px; } .ui-dialog-content .token-tree { @@ -13,6 +12,10 @@ padding-bottom: 0; } +.token-tree tr .token-name { + padding-left: 25px; +} + .token-group { font-weight: bold; } diff --git a/token.pages.inc b/token.pages.inc index 4fe3968..f04391a 100644 --- a/token.pages.inc +++ b/token.pages.inc @@ -198,7 +198,8 @@ function _token_token_tree_format_row($token, array $token_info, $is_group = FAL $row = $defaults; $row['id'] = _token_clean_css_identifier($token); - $row['data']['name'] = $token_info['name']; + $row['data']['name']['data'] = $token_info['name']; + $row['data']['name']['class'] = array('token-name'); $row['data']['description'] = isset($token_info['description']) ? $token_info['description'] : ''; if ($is_group) { -- 2.5.4 (Apple Git-61)