Fix modal close button alignment when icon is present (#988)

Change flex alignment from items-center to items-start so the X button
stays at the top-right corner instead of vertically centering with the
icon + title block.
This commit is contained in:
Mahad Kalam 2026-02-20 18:44:23 +00:00 committed by GitHub
parent d3af585822
commit ef50839744
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -44,7 +44,7 @@
<div class="absolute inset-x-0 top-0 h-1 bg-primary"></div>
<div class="p-6 sm:p-8">
<div class="mb-5 flex items-center justify-between gap-4">
<div class="mb-5 flex items-start justify-between gap-4">
<div class="min-w-0">
{#if hasIcon}
<div