Tobias Gritschacher has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/337024 )

Change subject: Don't set min-height and min-width for oo-ui buttons
......................................................................

Don't set min-height and min-width for oo-ui buttons

OOJS-UI 0.19.0 introduced min-height and min-width for
oo-ui-buttonElement in which caused our UI elements to be mis-dimentioned.

Bug: 157800
Change-Id: I24b4d2ff6abfe02581b99b48a622972e7ef2f6b1
---
M modules/ext.RevisionSlider.css
M modules/ext.RevisionSlider.lazy.css
2 files changed, 6 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/RevisionSlider 
refs/changes/24/337024/1

diff --git a/modules/ext.RevisionSlider.css b/modules/ext.RevisionSlider.css
index 70c5ca1..085c838 100644
--- a/modules/ext.RevisionSlider.css
+++ b/modules/ext.RevisionSlider.css
@@ -175,6 +175,8 @@
 }
 
 .mw-revslider-arrow .oo-ui-buttonElement-button {
+       min-height: 0;
+       min-width: 0;
        height: 140px;
        width: 20px;
        padding: 0;
@@ -197,6 +199,8 @@
        z-index: 10;
        padding: 0;
        box-sizing: border-box;
+       min-height: 0;
+       min-width: 0;
        width: 1.775em;
        height: 1.775em;
        background-color: transparent;
diff --git a/modules/ext.RevisionSlider.lazy.css 
b/modules/ext.RevisionSlider.lazy.css
index 94158cd..baf1475 100644
--- a/modules/ext.RevisionSlider.lazy.css
+++ b/modules/ext.RevisionSlider.lazy.css
@@ -20,6 +20,8 @@
 }
 
 .mw-revslider-toggle-button .oo-ui-buttonElement-button {
+       min-height: 0;
+       min-width: 0;
        width: 100%;
        padding: 0.06em 0 0.06em 0;
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I24b4d2ff6abfe02581b99b48a622972e7ef2f6b1
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/RevisionSlider
Gerrit-Branch: master
Gerrit-Owner: Tobias Gritschacher <tobias.gritschac...@wikimedia.de>

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

Reply via email to