💄 style(questions): fix class directive syntax for Phosphor icons

This commit is contained in:
Till-JS 2026-01-29 13:17:31 +01:00
parent b89749deed
commit f5247b5e01

View file

@ -65,7 +65,7 @@
onclick={() => (sidebarOpen = !sidebarOpen)}
class="rounded-lg p-2 text-muted-foreground hover:bg-secondary"
>
<CaretRight class="h-5 w-5 transition-transform" class:rotate-180={sidebarOpen} />
<CaretRight class="h-5 w-5 transition-transform {sidebarOpen ? 'rotate-180' : ''}" />
</button>
</div>