Esanders has uploaded a new change for review.
https://gerrit.wikimedia.org/r/175592
Change subject: Remove padding from undecorated option widgets
......................................................................
Remove padding from undecorated option widgets
No decoration, no padding.
Change-Id: Ia4a47f2836f5d64f4a490f2d958ab139d1a673d7
---
M src/themes/apex/widgets.less
M src/themes/mediawiki/widgets.less
2 files changed, 6 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/oojs/ui refs/changes/92/175592/1
diff --git a/src/themes/apex/widgets.less b/src/themes/apex/widgets.less
index 6638175..13c1b6b 100644
--- a/src/themes/apex/widgets.less
+++ b/src/themes/apex/widgets.less
@@ -284,7 +284,7 @@
}
.theme-oo-ui-optionWidget () {
- padding: 0.5em 2em 0.5em 3em;
+ padding: 0.5em;
border: none;
&-highlighted {
@@ -309,6 +309,8 @@
}
.theme-oo-ui-decoratedOptionWidget () {
+ padding: 0.5em 2em 0.5em 3em;
+
.oo-ui-iconElement-icon,
.oo-ui-indicatorElement-indicator {
top: 50%;
diff --git a/src/themes/mediawiki/widgets.less
b/src/themes/mediawiki/widgets.less
index 6e038ad..3e73fc4 100644
--- a/src/themes/mediawiki/widgets.less
+++ b/src/themes/mediawiki/widgets.less
@@ -335,7 +335,7 @@
.theme-oo-ui-labelWidget () {}
.theme-oo-ui-optionWidget () {
- padding: 0.5em 2em 0.5em 3em;
+ padding: 0.5em;
border: none;
&-highlighted {
@@ -357,6 +357,8 @@
}
.theme-oo-ui-decoratedOptionWidget () {
+ padding: 0.5em 2em 0.5em 3em;
+
.oo-ui-iconElement-icon,
.oo-ui-indicatorElement-indicator {
top: 50%;
--
To view, visit https://gerrit.wikimedia.org/r/175592
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia4a47f2836f5d64f4a490f2d958ab139d1a673d7
Gerrit-PatchSet: 1
Gerrit-Project: oojs/ui
Gerrit-Branch: master
Gerrit-Owner: Esanders <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits