Skip to content

Commit

Permalink
fix for sub-menus in long menus not working
Browse files Browse the repository at this point in the history
  • Loading branch information
BenSibley committed Jan 20, 2018
1 parent 10538df commit 6ae6cfc
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 6 deletions.
7 changes: 5 additions & 2 deletions rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -874,6 +874,9 @@ li.pingback {
-webkit-transform-style: preserve-3d;
transform-style: preserve-3d;
}
.menu-primary li.menu-item-has-children {
z-index: 25;
}
.menu-primary a {
font-size: 0.75em;
/* 12px / 16px */
Expand Down Expand Up @@ -1384,10 +1387,10 @@ li.pingback {
@media all and (min-width: 56.25em) {
.sidebar-primary {
border: none;
width: 25.85156%;
width: 25.8515625%;
float: right;
padding: 0;
margin: 0 5.17031% 0 0;
margin: 0 5.1703125% 0 0;
}
}
.widget {
Expand Down
2 changes: 1 addition & 1 deletion rtl.min.css

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions sass/_menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@
display: inline-block;
margin: 0 20px 0 0;
transform-style: preserve-3d;

&.menu-item-has-children {
z-index: 25;
}
}
a {
font-size: 0.75em; /* 12px / 16px */
Expand Down
7 changes: 5 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -874,6 +874,9 @@ li.pingback {
-webkit-transform-style: preserve-3d;
transform-style: preserve-3d;
}
.menu-primary li.menu-item-has-children {
z-index: 25;
}
.menu-primary a {
font-size: 0.75em;
/* 12px / 16px */
Expand Down Expand Up @@ -1384,10 +1387,10 @@ li.pingback {
@media all and (min-width: 56.25em) {
.sidebar-primary {
border: none;
width: 25.85156%;
width: 25.8515625%;
float: left;
padding: 0;
margin: 0 0 0 5.17031%;
margin: 0 0 0 5.1703125%;
}
}
.widget {
Expand Down
2 changes: 1 addition & 1 deletion style.min.css

Large diffs are not rendered by default.

0 comments on commit 6ae6cfc

Please sign in to comment.