ordered lang in first position to avoid missplacement

This commit is contained in:
jorge-vitrubio 2024-03-14 13:35:44 +01:00
parent f1432bc8d0
commit c640648331
1 changed files with 8 additions and 3 deletions

View File

@ -163,6 +163,7 @@
.main-navigation,.secondary-navigation { .main-navigation,.secondary-navigation {
ul { ul {
display: flex; display: flex;
flex-flow: row;
.menu-item-has-children > ul { .menu-item-has-children > ul {
background-color: rgba(255,255,255,0.95); background-color: rgba(255,255,255,0.95);
} }
@ -201,11 +202,15 @@
} }
} }
li { li {
padding: 0 1em; padding: 0 1em;
&:hover > ul, order: 2;
&.focus > ul { &:hover > ul,
&.focus > ul {
left: auto; left: auto;
} }
&.lang-item {
order: 1;
}
} }
} }