Fix .menu-item-active::after

This commit is contained in:
Mimi 2024-05-09 12:23:22 +08:00
parent 6742735db4
commit 07acb27cc9

View File

@ -10,19 +10,12 @@
a {
padding: 5px 20px;
position: relative;
transition-property: background-color;
menu-item-row();
}
+tablet-mobile() {
&.menu-item-search {
display: none;
}
}
}
if (not hexo-config('menu_settings.badges')) {
.main-menu .menu-item-active::after {
&.menu-item-active::after {
background: $grey;
border-radius: 50%;
content: ' ';
@ -34,3 +27,11 @@ if (not hexo-config('menu_settings.badges')) {
width: 6px;
}
}
}
+tablet-mobile() {
&.menu-item-search {
display: none;
}
}
}