jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/337030 )
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: T157800
Change-Id: I24b4d2ff6abfe02581b99b48a622972e7ef2f6b1
(cherry picked from commit ccab029670ac53ae37a31d5652c5210eaafa913b)
---
M modules/ext.RevisionSlider.css
M modules/ext.RevisionSlider.lazy.css
2 files changed, 6 insertions(+), 0 deletions(-)
Approvals:
Addshore: Looks good to me, approved
WMDE-Fisch: Looks good to me, but someone else must approve
jenkins-bot: Verified
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/337030
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I24b4d2ff6abfe02581b99b48a622972e7ef2f6b1
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/RevisionSlider
Gerrit-Branch: wmf/1.29.0-wmf.11
Gerrit-Owner: Addshore <[email protected]>
Gerrit-Reviewer: Addshore <[email protected]>
Gerrit-Reviewer: Tobias Gritschacher <[email protected]>
Gerrit-Reviewer: WMDE-Fisch <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits