Skip to content

Commit

Permalink
Fix viewer loading animation
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellrgn committed Nov 5, 2024
1 parent 7f4e854 commit cafdb90
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/routes/(viewer)/ips/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@
{/if}

<style lang="css">
:global(.loader) {
.loader {
width: 100%;
height: 150px;
margin: 40px;
Expand All @@ -255,7 +255,7 @@
background: #FFF;
box-sizing: border-box;
}
:global(.loader::after) {
.loader::after {
content: '';
width: calc(100% - 30px);
height: calc(100% - 30px);
Expand All @@ -281,4 +281,12 @@
box-sizing: border-box;
animation: animloader 1s linear infinite;
}
@keyframes -global-animloader {
0% {
background-position: 0% 0, 0 0, 70px 5px, 70px 38px, 0px 66px;
}
100% {
background-position: 150% 0, 0 0, 70px 5px, 70px 38px, 0px 66px;
}
}
</style>

0 comments on commit cafdb90

Please sign in to comment.