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:
parent
93ccc2881d
commit
faf2eb2801
2 changed files with 5 additions and 1 deletions
|
@ -5,6 +5,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.preview {
|
.preview {
|
||||||
|
@include outer_shadow;
|
||||||
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
inset: 0;
|
inset: 0;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
@ -13,6 +15,8 @@
|
||||||
align-items: flex-end;
|
align-items: flex-end;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
padding: $gap;
|
padding: $gap;
|
||||||
|
overflow: hidden;
|
||||||
|
border-radius: $radius;
|
||||||
}
|
}
|
||||||
|
|
||||||
.thumbnail {
|
.thumbnail {
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
:global(.swiper-pagination) {
|
:global(.swiper-pagination) {
|
||||||
left: 50%;
|
left: 50%;
|
||||||
bottom: $gap * 2;
|
bottom: $gap * 2;
|
||||||
transform: translate(-50%, 0);
|
transform: translate(-50%, 25%);
|
||||||
background: $content_bg_darker;
|
background: $content_bg_darker;
|
||||||
width: auto;
|
width: auto;
|
||||||
padding: 5px 10px;
|
padding: 5px 10px;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue