Bartosz Dziewoński has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/384789 )
Change subject: WikimediaUI theme: Fix selector in PopupWidget styles
......................................................................
WikimediaUI theme: Fix selector in PopupWidget styles
We only want to remove the margin of the first child of the popup,
not of first children of any element nested inside the popup.
Change-Id: I0a0511095231589461066c6c377a9db1202b29d7
---
M src/themes/wikimediaui/widgets.less
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/oojs/ui refs/changes/89/384789/1
diff --git a/src/themes/wikimediaui/widgets.less
b/src/themes/wikimediaui/widgets.less
index 8e9da32..6e9523f 100644
--- a/src/themes/wikimediaui/widgets.less
+++ b/src/themes/wikimediaui/widgets.less
@@ -1075,7 +1075,7 @@
&-padded {
margin: @padding-top-menu @padding-horizontal-base
@padding-bottom-menu;// Use `margin` rather than `padding` to enable margin to
collapse
- :first-child {
+ > :first-child {
margin-top: 0;
}
}
--
To view, visit https://gerrit.wikimedia.org/r/384789
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0a0511095231589461066c6c377a9db1202b29d7
Gerrit-PatchSet: 1
Gerrit-Project: oojs/ui
Gerrit-Branch: master
Gerrit-Owner: Bartosz Dziewoński <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits