From 3ee9ff572021808eb6f20ce6a2e61333256d8c0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20Laxstr=C3=B6m?= Date: Thu, 26 May 2016 10:36:14 +0200 Subject: [PATCH] Fix the border of font selectors The top border was shorter than the others, fixed by using CSS applied to the first element instead of the parent. Bug: T136273 Change-Id: Ic894ef99ef2c88a23d6db65b68327fd903473038 --- resources/css/ext.uls.displaysettings.less | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/css/ext.uls.displaysettings.less b/resources/css/ext.uls.displaysettings.less index d488f3e9..5c1f72a3 100644 --- a/resources/css/ext.uls.displaysettings.less +++ b/resources/css/ext.uls.displaysettings.less @@ -31,14 +31,16 @@ div.display-settings-block { .uls-display-settings-font-selectors { margin: 5px 0 15px 0; - border-top: 1px solid #eee; } .uls-font-item { border-bottom: 1px solid #eee; background: #fbfbfb; - margin: 0; padding: 10px 0; + + &:first-child { + border-top: 1px solid #eee; + } } .uls-font-label,