From 1d35d1a20c88dd705e7217c96851989811e3e6bf Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Wed, 5 Apr 2017 12:51:50 +0200 Subject: [PATCH] Small fix for autocomplete list --- skins/elastic/styles/colors.less | 1 - skins/elastic/styles/widgets/lists.less | 7 +++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/skins/elastic/styles/colors.less b/skins/elastic/styles/colors.less index 34572718a..d8f7d992f 100644 --- a/skins/elastic/styles/colors.less +++ b/skins/elastic/styles/colors.less @@ -40,7 +40,6 @@ @color-toolbarmenu-hover: white; @color-toolbarmenu-hover-background: blue; - // Drag-n-drop layer @color-drag-layer: white; @color-drag-layer-background: #444; diff --git a/skins/elastic/styles/widgets/lists.less b/skins/elastic/styles/widgets/lists.less index 1691807c9..8247723de 100644 --- a/skins/elastic/styles/widgets/lists.less +++ b/skins/elastic/styles/widgets/lists.less @@ -1,5 +1,7 @@ /*** List and treelist widgets ***/ +@var-listing-line-height: 2.4em; + .listing { tbody td, li { @@ -7,6 +9,7 @@ border-bottom: 1px solid #f4f4f4; cursor: default; font-weight: normal; + line-height: @var-listing-line-height; } tbody td, @@ -17,7 +20,7 @@ padding: 0 0.5em; white-space: nowrap; vertical-align: middle; - line-height: 2.4em; + line-height: @var-listing-line-height; color: @color-list; } @@ -95,7 +98,7 @@ ul.listing { position: absolute; top: 0; right: 0.2em; - height: 2.4em; + height: @var-listing-line-height; vertical-align: middle; } }