Skip to content

Commit d4d19b9

Browse files
author
sw33tLie
committed
improve CLS score for website
1 parent db005a6 commit d4d19b9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

website/pkg/core/core.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ func ScopeContent() g.Node {
377377
),
378378
typePills,
379379
// Table container — filled by scope-table.js
380-
Div(ID("scope-table-container"),
380+
Div(ID("scope-table-container"), Class("min-h-[80vh]"),
381381
Div(Class("flex flex-col items-center justify-center py-20 gap-4"),
382382
g.Raw(`<div class="w-8 h-8 border-2 border-cyan-500 border-t-transparent rounded-full animate-spin"></div>`),
383383
Span(Class("text-zinc-400 text-sm"), g.Text("Loading scope data...")),
@@ -934,7 +934,7 @@ func UpdatesContent() g.Node {
934934
),
935935
),
936936
// Table container — filled by updates-table.js
937-
Div(ID("updates-table-container"),
937+
Div(ID("updates-table-container"), Class("min-h-[80vh]"),
938938
Div(Class("flex flex-col items-center justify-center py-20 gap-4"),
939939
g.Raw(`<div class="w-8 h-8 border-2 border-cyan-500 border-t-transparent rounded-full animate-spin"></div>`),
940940
Span(Class("text-zinc-400 text-sm"), g.Text("Loading updates...")),

0 commit comments

Comments
 (0)