Jdlrobson has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/68560


Change subject: Bug 48793: CSS issue on watchlist feed view
......................................................................

Bug 48793: CSS issue on watchlist feed view

Ensure line height of tab buttons is the same when bold

Change-Id: I14134afb9eccb45d9cafdb3575059c2953b2f37a
---
M less/specials/watchlist.less
M stylesheets/specials/watchlist.css
2 files changed, 10 insertions(+), 8 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend 
refs/changes/60/68560/1

diff --git a/less/specials/watchlist.less b/less/specials/watchlist.less
index 89db6d5..4b49573 100644
--- a/less/specials/watchlist.less
+++ b/less/specials/watchlist.less
@@ -1,21 +1,24 @@
 @import "../mf-mixins.less";
 
 .mw-mf-watchlist-selector {
-       border-bottom: 1px solid #e2e2e2;
 
        li {
+               border-bottom: 1px solid #e2e2e2;
                text-align: center;
                display: inline-block;
                border-left: 1px solid #e2e2e2;
                width: 25%;
                margin: 0 0 0 -1px;
 
-               &.selected a {
-                       font-weight: bold;
-                       border-bottom-color: #3366bb;
+               &.selected {
+                       a {
+                               border-bottom: solid 3px #3366bb;
+                               font-weight: bold;
+                       }
                }
 
                a {
+                       line-height: 1.5;
                        display: block;
                        color: #58595b;
                        padding: 5px 0 0;
diff --git a/stylesheets/specials/watchlist.css 
b/stylesheets/specials/watchlist.css
index 4e1af32..11c94f0 100644
--- a/stylesheets/specials/watchlist.css
+++ b/stylesheets/specials/watchlist.css
@@ -1,7 +1,5 @@
-.mw-mf-watchlist-selector {
-  border-bottom: 1px solid #e2e2e2;
-}
 .mw-mf-watchlist-selector li {
+  border-bottom: 1px solid #e2e2e2;
   text-align: center;
   display: inline-block;
   border-left: 1px solid #e2e2e2;
@@ -9,10 +7,11 @@
   margin: 0 0 0 -1px;
 }
 .mw-mf-watchlist-selector li.selected a {
+  border-bottom: solid 3px #3366bb;
   font-weight: bold;
-  border-bottom-color: #3366bb;
 }
 .mw-mf-watchlist-selector li a {
+  line-height: 1.5;
   display: block;
   color: #58595b;
   padding: 5px 0 0;

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I14134afb9eccb45d9cafdb3575059c2953b2f37a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>

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

Reply via email to