kopia lustrzana https://github.com/cheeaun/phanpy
Fix dangling lonely dividers in menu with CSS
The if conditions are too maddening at this pointpull/948/head
rodzic
8b806d55f3
commit
deaddcec00
|
@ -2077,6 +2077,11 @@ body > .szh-menu-container {
|
|||
.szh-menu__divider {
|
||||
background-color: var(--divider-color);
|
||||
margin-block: 4px;
|
||||
|
||||
> &:first-child,
|
||||
li[role='none']:first-child + & {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.szh-menu .szh-menu__item .menu-grow {
|
||||
flex-grow: 1;
|
||||
|
|
Ładowanie…
Reference in New Issue