ux: fix: last navigation menu's submenu was going off page to right
This commit is contained in:
parent
58e7fa41ea
commit
e99794cf94
1 changed files with 11 additions and 6 deletions
|
|
@ -28,7 +28,7 @@
|
|||
margin: 0 7px 0 .7em;
|
||||
font-size: @basefontsize;
|
||||
color: white;
|
||||
|
||||
|
||||
&.empty {
|
||||
background-color: @grey4;
|
||||
}
|
||||
|
|
@ -94,7 +94,7 @@
|
|||
&:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
|
||||
ul li {
|
||||
display: block;
|
||||
|
||||
|
|
@ -145,7 +145,7 @@
|
|||
&:hover,
|
||||
&.open,
|
||||
&.active {
|
||||
a {
|
||||
a {
|
||||
color: @grey1;
|
||||
}
|
||||
}
|
||||
|
|
@ -288,6 +288,11 @@
|
|||
}
|
||||
}
|
||||
|
||||
.navigation li:last-child .submenu {
|
||||
right: -20px;
|
||||
left: auto;
|
||||
}
|
||||
|
||||
.submenu {
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
|
|
@ -333,7 +338,7 @@
|
|||
-moz-transition: background .3s;
|
||||
-o-transition: background .3s;
|
||||
transition: background .3s;
|
||||
|
||||
|
||||
ul {
|
||||
display: block;
|
||||
}
|
||||
|
|
@ -480,7 +485,7 @@
|
|||
&.select2-result-unselectable > .select2-result-label {
|
||||
margin: 0 8px;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -594,7 +599,7 @@ ul#context-pages {
|
|||
padding: 0;
|
||||
border: none;
|
||||
}
|
||||
|
||||
|
||||
.nav-pills {
|
||||
margin: 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue