Skip to content

Commit c3b4538

Browse files
committed
Moved loading heading style to <style>
1 parent b743313 commit c3b4538

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/routes/+page.svelte

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@
7272
text-align: center;
7373
}
7474
75+
#loading h1 {
76+
animation: flash 2s infinite;
77+
text-align: center
78+
}
79+
7580
#loading p {
7681
opacity: 0.5;
7782
}
@@ -93,7 +98,7 @@
9398
/>
9499
{:else if currentStats && !statsProcessed}
95100
<div id="loading">
96-
<h1 style="animation: flash 2s infinite; text-align: center">Loading songs...</h1>
101+
<h1>Loading songs...</h1>
97102
<ProgressBar value={progress} max={progressMax} />
98103
<p>Getting cover arts...</p>
99104

0 commit comments

Comments
 (0)