mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-21 08:45:32 +03:00
Fix dangling lonely dividers in menu with CSS
The if conditions are too maddening at this point
This commit is contained in:
parent
8b806d55f3
commit
deaddcec00
1 changed files with 5 additions and 0 deletions
|
@ -2077,6 +2077,11 @@ body > .szh-menu-container {
|
||||||
.szh-menu__divider {
|
.szh-menu__divider {
|
||||||
background-color: var(--divider-color);
|
background-color: var(--divider-color);
|
||||||
margin-block: 4px;
|
margin-block: 4px;
|
||||||
|
|
||||||
|
> &:first-child,
|
||||||
|
li[role='none']:first-child + & {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.szh-menu .szh-menu__item .menu-grow {
|
.szh-menu .szh-menu__item .menu-grow {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
|
|
Loading…
Reference in a new issue