Florianschmidtwelzow has uploaded a new change for review.
https://gerrit.wikimedia.org/r/273939
Change subject: Add max-width: 50em; to actionFieldLayout
......................................................................
Add max-width: 50em; to actionFieldLayout
InputWidgets have a 50em; width, which results in an unaligned action button
when combined with an action field layout. To align the buttons with the inputs
add a max-width of 50em to the action field layout.
Bug: T128341
Change-Id: Ic5e5f01b6e3405cfd6c0d75409afd45aae1c7995
---
M src/themes/apex/layouts.less
M src/themes/mediawiki/layouts.less
2 files changed, 6 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/oojs/ui refs/changes/39/273939/1
diff --git a/src/themes/apex/layouts.less b/src/themes/apex/layouts.less
index 6be3f8f..df81a67 100644
--- a/src/themes/apex/layouts.less
+++ b/src/themes/apex/layouts.less
@@ -97,7 +97,9 @@
}
}
-.theme-oo-ui-actionFieldLayout () {}
+.theme-oo-ui-actionFieldLayout () {
+ max-width: 50em;
+}
.theme-oo-ui-fieldsetLayout () {
margin: 0;
diff --git a/src/themes/mediawiki/layouts.less
b/src/themes/mediawiki/layouts.less
index d20d5aa..efb63c9 100644
--- a/src/themes/mediawiki/layouts.less
+++ b/src/themes/mediawiki/layouts.less
@@ -102,7 +102,9 @@
}
}
-.theme-oo-ui-actionFieldLayout () {}
+.theme-oo-ui-actionFieldLayout () {
+ max-width: 50em;
+}
.theme-oo-ui-fieldsetLayout () {
margin: 0;
--
To view, visit https://gerrit.wikimedia.org/r/273939
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic5e5f01b6e3405cfd6c0d75409afd45aae1c7995
Gerrit-PatchSet: 1
Gerrit-Project: oojs/ui
Gerrit-Branch: master
Gerrit-Owner: Florianschmidtwelzow <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits