Skip to content

Commit eefb561

Browse files
committed
fix: delayed styling on initil render
1 parent 4efae4f commit eefb561

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/shared/views/components/genericCardSkeleton.component_templ.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/shared/views/components/storeCard.component.templ

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ templ StoreCard(store entities.StoreWithCategories, size int, lastInList bool, i
1111
<div hx-boost="true" hx-indicator=".htmx-indicator">
1212
<a href={ templ.URL(fmt.Sprintf("/stores/%s", store.Slug)) } class="w-full">
1313
<sl-card
14-
class="ltr list card-image bg-base-100 shadow-sm w-full"
14+
class="ltr list card-image bg-base-100 shadow-sm w-full flex"
1515
if (lastInList && isScrollable) {
1616
hx-trigger="intersect once"
1717
hx-get={ fmt.Sprintf("/stores?size=%d&last_store_secondary_id=%d", size, store.SecondaryID) }

src/shared/views/components/storeCard.component_templ.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)