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
This commit is contained in:
Niklas Laxström
2016-05-26 10:36:14 +02:00
parent b99d97a5be
commit 3ee9ff5720

View File

@@ -31,14 +31,16 @@ div.display-settings-block {
.uls-display-settings-font-selectors { .uls-display-settings-font-selectors {
margin: 5px 0 15px 0; margin: 5px 0 15px 0;
border-top: 1px solid #eee;
} }
.uls-font-item { .uls-font-item {
border-bottom: 1px solid #eee; border-bottom: 1px solid #eee;
background: #fbfbfb; background: #fbfbfb;
margin: 0;
padding: 10px 0; padding: 10px 0;
&:first-child {
border-top: 1px solid #eee;
}
} }
.uls-font-label, .uls-font-label,