1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-24 20:36:40 +07:00

improve image loader

This commit is contained in:
Fedor Katurov 2023-11-04 12:36:35 +06:00
parent 93ccc2881d
commit faf2eb2801
2 changed files with 5 additions and 1 deletions

View file

@ -5,6 +5,8 @@
}
.preview {
@include outer_shadow;
position: absolute;
inset: 0;
pointer-events: none;
@ -13,6 +15,8 @@
align-items: flex-end;
justify-content: flex-end;
padding: $gap;
overflow: hidden;
border-radius: $radius;
}
.thumbnail {

View file

@ -14,7 +14,7 @@
:global(.swiper-pagination) {
left: 50%;
bottom: $gap * 2;
transform: translate(-50%, 0);
transform: translate(-50%, 25%);
background: $content_bg_darker;
width: auto;
padding: 5px 10px;