fix: make loading spinner smaller

This commit is contained in:
Christel Westerberg
2024-05-14 13:23:22 +02:00
parent 51287c11df
commit 30b94b05f6
3 changed files with 9 additions and 10 deletions

View File

@@ -2,18 +2,18 @@
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
height: 200px; height: 100px;
} }
.spinner { .spinner {
display: inline-block; display: inline-block;
position: relative; position: relative;
width: 80px; width: 40px;
height: 80px; height: 40px;
} }
.spinner div { .spinner div {
transform-origin: 40px 40px; transform-origin: 20px 20px;
animation: spinnerAnimation 1.2s linear infinite; animation: spinnerAnimation 1.2s linear infinite;
} }
@@ -21,10 +21,10 @@
content: " "; content: " ";
display: block; display: block;
position: absolute; position: absolute;
top: 3px; top: 1.5px;
left: 37px; left: 18.5px;
width: 6px; width: 3px;
height: 18px; height: 9px;
border-radius: 20%; border-radius: 20%;
background: var(--Brand-Main-Strong); background: var(--Brand-Main-Strong);
} }

View File

@@ -38,5 +38,4 @@
text-decoration: none; text-decoration: none;
text-align: center; text-align: center;
color: var(--Theme-Primary-Light-On-Surface-Text); color: var(--Theme-Primary-Light-On-Surface-Text);
aspect-ratio: 1/1;
} }

View File

@@ -42,7 +42,7 @@
} }
.treeColumnGrid { .treeColumnGrid {
grid-template-columns: repeat(3, minmax(30rem, 1fr)); grid-template-columns: repeat(3, 1fr);
} }
.carousel { .carousel {