fix weird font weight and padding on nav submenu

This commit is contained in:
Aadil Ayub 2024-04-29 12:49:18 +05:00
parent 8603bfa01c
commit b7a8bbe890
1 changed files with 6 additions and 0 deletions

View File

@ -19,6 +19,12 @@ Version: 0.1
.wp-block-navigation .wp-block-navigation-item:focus-visible {
background: var(--wp--preset--color--secondary);
}
/* fix weird padding and font weight on header nav dropdown items */
ul.wp-block-navigation__submenu-container.has-background {
padding: 0;
font-weight: 400;
}
}
@media screen and (max-width: 786px) {