mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
feat(web): remove delay from Skeleton (#27580)
Change-Id: I95a37f1af832c005a8f009d6f07df8ac6a6a6964
This commit is contained in:
@@ -33,17 +33,6 @@
|
|||||||
:global(.dark) [data-skeleton] {
|
:global(.dark) [data-skeleton] {
|
||||||
background-image: url('/dark_skeleton.png');
|
background-image: url('/dark_skeleton.png');
|
||||||
}
|
}
|
||||||
@keyframes delayedVisibility {
|
|
||||||
to {
|
|
||||||
visibility: visible;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
[data-skeleton] {
|
|
||||||
visibility: hidden;
|
|
||||||
animation:
|
|
||||||
0s linear 0.1s forwards delayedVisibility,
|
|
||||||
pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
||||||
}
|
|
||||||
.invisible [data-skeleton] {
|
.invisible [data-skeleton] {
|
||||||
visibility: hidden !important;
|
visibility: hidden !important;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user