r
This commit is contained in:
parent
c6e81d3e63
commit
2850ec17ee
29
dev.less
29
dev.less
@ -46,17 +46,20 @@ body::before {
|
||||
}
|
||||
*/
|
||||
|
||||
.navigation,
|
||||
.navigation>ul,
|
||||
.navigation>ul>.level0{
|
||||
position: static !important;
|
||||
}
|
||||
.submenu.level0[aria-expanded="true"]{
|
||||
display: flex !important;
|
||||
left: 50% !important;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
.submenu.level1{
|
||||
position: static !important;
|
||||
display: block !important;
|
||||
/* desktop */
|
||||
@media (min-width: 768px) { /* desktop */
|
||||
.navigation,
|
||||
.navigation>ul,
|
||||
.navigation>ul>.level0{
|
||||
position: static !important;
|
||||
}
|
||||
.submenu.level0[aria-expanded="true"]{
|
||||
display: flex !important;
|
||||
left: 50% !important;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
.submenu.level1{
|
||||
position: static !important;
|
||||
display: block !important;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user