fix: use standard tailwind sizes for autoplay button icon

This commit is contained in:
2026-04-28 09:45:10 +02:00
parent 9c416777d6
commit 1115515767
3 changed files with 4 additions and 2 deletions

View File

@@ -33,7 +33,8 @@ COPY . .
RUN templ generate
# Build frontend assets (tailwind + ts)
RUN bun run build:assets
# Touch input file to force Tailwind to rescan
RUN touch ./static/style.css && bun run build:assets
# Generate sqlc code
RUN sqlc generate

View File

@@ -3,6 +3,7 @@
@import '@toolwind/anchors';
@source "..";
@source "../web/**/*.templ";
:root {
color-scheme: light dark;

View File

@@ -45,7 +45,7 @@ templ WatchPage(anime jikan.Anime, data shared.WatchPageData) {
class="inline-flex h-8 items-center gap-1.5 bg-(--panel-soft) px-2 text-xs text-(--text) hover:bg-(--panel)"
title="Autoplay: On"
>
<svg class="h-3.5 w-3.5 shrink-0" viewBox="0 0 24 24" aria-hidden="true">
<svg class="h-4 w-4 shrink-0" viewBox="0 0 24 24" aria-hidden="true">
<polygon points="5 6 16 12 5 18" fill="currentColor" stroke="none"></polygon>
<line x1="19" y1="6" x2="19" y2="18" stroke="currentColor" stroke-width="2" stroke-linecap="round"></line>
</svg>