jenkins-bot has submitted this change and it was merged.

Change subject: Fix the border of font selectors
......................................................................


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
---
M resources/css/ext.uls.displaysettings.less
1 file changed, 4 insertions(+), 2 deletions(-)

Approvals:
  Santhosh: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/resources/css/ext.uls.displaysettings.less 
b/resources/css/ext.uls.displaysettings.less
index d488f3e..5c1f72a 100644
--- a/resources/css/ext.uls.displaysettings.less
+++ b/resources/css/ext.uls.displaysettings.less
@@ -31,14 +31,16 @@
 
 .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,

-- 
To view, visit https://gerrit.wikimedia.org/r/290892
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic894ef99ef2c88a23d6db65b68327fd903473038
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/UniversalLanguageSelector
Gerrit-Branch: master
Gerrit-Owner: Nikerabbit <[email protected]>
Gerrit-Reviewer: Santhosh <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to