VolkerE has uploaded a new change for review.

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

Change subject: MediaWiki theme: Fix focus states of ActionWidget's buttons
......................................................................

MediaWiki theme: Fix focus states of ActionWidget's buttons

Fixing focus states of ActionWidget's buttons in MessageDialogs by
changing `height` to `min-height` - slightly lower than corresponding
`line-height`.

Bug: T138495
Change-Id: I213b02db578d9551f8df5d0f81607e6ae0004554
---
M src/themes/mediawiki/windows.less
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/oojs/ui refs/changes/00/295700/1

diff --git a/src/themes/mediawiki/windows.less 
b/src/themes/mediawiki/windows.less
index a92fc22..377f54e 100644
--- a/src/themes/mediawiki/windows.less
+++ b/src/themes/mediawiki/windows.less
@@ -63,12 +63,12 @@
                }
 
                .oo-ui-actionWidget {
-                       height: 3.4em;
+                       min-height: 3.3em; // has to be slightly lower than 
`line-height` below
                        .oo-ui-inline-spacing( 0 );
 
                        &.oo-ui-labelElement .oo-ui-labelElement-label {
                                text-align: center;
-                               line-height: 3.4em;
+                               line-height: 3.4;
                        }
 
                        &:hover {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I213b02db578d9551f8df5d0f81607e6ae0004554
Gerrit-PatchSet: 1
Gerrit-Project: oojs/ui
Gerrit-Branch: master
Gerrit-Owner: VolkerE <volke...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to