fix: menu backdrop safari
This commit is contained in:
parent
dcdb697eab
commit
dd2fe95742
|
|
@ -123,20 +123,21 @@ import Logo from './Logo.astro';
|
||||||
|
|
||||||
.menu-backdrop {
|
.menu-backdrop {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
|
||||||
|
|
||||||
#mobile-checkbox:checked ~ .mobile-icon-button .menu-backdrop {
|
|
||||||
display: block;
|
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
|
-webkit-backdrop-filter: blur(5px);
|
||||||
backdrop-filter: blur(5px);
|
backdrop-filter: blur(5px);
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
background: rgba(0, 0, 0, 0.2);
|
background: rgba(0, 0, 0, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#mobile-checkbox:checked ~ .mobile-icon-button .menu-backdrop {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
.mobile-icon-button-icon.icon-close {
|
.mobile-icon-button-icon.icon-close {
|
||||||
display: none;
|
display: none;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue