fix ios菜单点击两次

This commit is contained in:
jxxghp
2023-09-14 16:11:44 +08:00
parent 17020cf62d
commit e54e851f61
+12 -11
View File
@@ -8,17 +8,18 @@
// ️ This mixin is inspired from vuetify for adding hover styles via before pseudo element // ️ This mixin is inspired from vuetify for adding hover styles via before pseudo element
@mixin before-pseudo() { @mixin before-pseudo() {
position: relative; position: relative;
@media (hover) {
&::before { &::before {
position: absolute; position: absolute;
border-radius: inherit; border-radius: inherit;
background: currentcolor; background: currentcolor;
block-size: 100%; block-size: 100%;
content: ""; content: "";
inline-size: 100%; inline-size: 100%;
inset: 0; inset: 0;
opacity: 0; opacity: 0;
pointer-events: none; pointer-events: none;
}
} }
} }