firefox fallback

This commit is contained in:
Martina 2020-09-09 20:39:56 -07:00
parent 63234352c4
commit 335187a22a

View File

@ -112,15 +112,22 @@ const STYLES_SIDEBAR_WEB = css`
padding: 0; padding: 0;
flex-shrink: 0; flex-shrink: 0;
position: absolute; position: absolute;
background-color: rgba(247, 247, 247, 0.75); background-color: rgba(247, 247, 247, 1);
-webkit-backdrop-filter: blur(75px);
backdrop-filter: blur(25px);
top: 0; top: 0;
right: 0; right: 0;
${STYLES_SCROLL} ${STYLES_SCROLL}
@media (max-width: ${Constants.sizes.mobile}px) { @media (max-width: ${Constants.sizes.mobile}px) {
display: none; display: none;
} }
@supports (
(-webkit-backdrop-filter: blur(25px)) or (backdrop-filter: blur(25px))
) {
-webkit-backdrop-filter: blur(75px);
backdrop-filter: blur(25px);
background-color: rgba(247, 247, 247, 0.75);
}
`; `;
const STYLES_SIDEBAR_HEADER = css` const STYLES_SIDEBAR_HEADER = css`