jenkins-bot has submitted this change and it was merged.

Change subject: MenuLayout: Use child selectors to allow nesting menus
......................................................................


MenuLayout: Use child selectors to allow nesting menus

Change-Id: If05cfe96273012c6088cabc3987fd96bf9c30f99
---
M src/styles/layouts/MenuLayout.less
1 file changed, 10 insertions(+), 10 deletions(-)

Approvals:
  Bartosz Dziewoński: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/src/styles/layouts/MenuLayout.less 
b/src/styles/layouts/MenuLayout.less
index f66ef1c..8454eec 100644
--- a/src/styles/layouts/MenuLayout.less
+++ b/src/styles/layouts/MenuLayout.less
@@ -28,13 +28,13 @@
        }
 
        &.oo-ui-menuLayout-hideMenu {
-               .oo-ui-menuLayout-menu {
+               > .oo-ui-menuLayout-menu {
                        width: 0 !important;
                        height: 0 !important;
                        overflow: hidden;
                }
 
-               .oo-ui-menuLayout-content {
+               > .oo-ui-menuLayout-content {
                        top: 0 !important;
                        left: 0 !important;
                        right: 0 !important;
@@ -44,14 +44,14 @@
 
        &.oo-ui-menuLayout-showMenu {
                &.oo-ui-menuLayout-top {
-                       .oo-ui-menuLayout-menu {
+                       > .oo-ui-menuLayout-menu {
                                width: auto !important;
                                left: 0;
                                top: 0;
                                right: 0;
                        }
 
-                       .oo-ui-menuLayout-content {
+                       > .oo-ui-menuLayout-content {
                                right: 0 !important;
                                bottom: 0 !important;
                                left: 0 !important;
@@ -59,14 +59,14 @@
                }
 
                &.oo-ui-menuLayout-after {
-                       .oo-ui-menuLayout-menu {
+                       > .oo-ui-menuLayout-menu {
                                height: auto !important;
                                top: 0;
                                right: 0;
                                bottom: 0;
                        }
 
-                       .oo-ui-menuLayout-content {
+                       > .oo-ui-menuLayout-content {
                                bottom: 0 !important;
                                left: 0 !important;
                                top: 0 !important;
@@ -74,14 +74,14 @@
                }
 
                &.oo-ui-menuLayout-bottom {
-                       .oo-ui-menuLayout-menu {
+                       > .oo-ui-menuLayout-menu {
                                width: auto !important;
                                right: 0;
                                bottom: 0;
                                left: 0;
                        }
 
-                       .oo-ui-menuLayout-content {
+                       > .oo-ui-menuLayout-content {
                                left: 0 !important;
                                top: 0 !important;
                                right: 0 !important;
@@ -89,14 +89,14 @@
                }
 
                &.oo-ui-menuLayout-before {
-                       .oo-ui-menuLayout-menu {
+                       > .oo-ui-menuLayout-menu {
                                height: auto !important;
                                bottom: 0;
                                left: 0;
                                top: 0;
                        }
 
-                       .oo-ui-menuLayout-content {
+                       > .oo-ui-menuLayout-content {
                                top: 0 !important;
                                right: 0 !important;
                                bottom: 0 !important;

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

Gerrit-MessageType: merged
Gerrit-Change-Id: If05cfe96273012c6088cabc3987fd96bf9c30f99
Gerrit-PatchSet: 2
Gerrit-Project: oojs/ui
Gerrit-Branch: master
Gerrit-Owner: Esanders <esand...@wikimedia.org>
Gerrit-Reviewer: Bartosz Dziewoński <matma....@gmail.com>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to