Skip to content

Commit

Permalink
Older browser support
Browse files Browse the repository at this point in the history
  • Loading branch information
MMP0 committed Feb 22, 2024
1 parent b6ddf17 commit bb0a02a
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions js/gallery/shared/Gallery.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -338,17 +338,22 @@
.preview {
display: flex;
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
flex-direction: column;
z-index: var(--layer-2);
border-radius: calc(var(--block-radius) - var(--block-border-width));
-webkit-backdrop-filter: blur(8px);
backdrop-filter: blur(8px);
width: var(--size-full);
height: var(--size-full);
}
.preview::before {
content: "";
position: absolute;
z-index: var(--layer-below);
background: var(--background-fill-primary);
background: color-mix(in srgb, var(--background-fill-primary) 90%, transparent);
opacity: 0.9;
width: var(--size-full);
height: var(--size-full);
}
Expand Down

0 comments on commit bb0a02a

Please sign in to comment.