mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-14 12:18:30 +03:00
Fix menu items not stretching when it's only one
This commit is contained in:
parent
889fdc87a1
commit
84d1500331
1 changed files with 3 additions and 0 deletions
|
@ -1538,6 +1538,9 @@ body > .szh-menu-container {
|
|||
/* two columns only */
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
.szh-menu .menu-horizontal:has(> .szh-menu__item:only-child) {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
.szh-menu .menu-horizontal > .szh-menu__item:not(:only-child):first-child,
|
||||
.szh-menu .menu-horizontal > *:not(:only-child):first-child .szh-menu__item {
|
||||
padding-right: 4px !important;
|
||||
|
|
Loading…
Add table
Reference in a new issue