fix: set width to full for headers

This commit is contained in:
Xylight committed 2024-07-26 14:36:16 -07:00
1 parent 99caaec3e8
commit b1a3ffc321
1 file changed
+3 -1
@@ -5,13 +5,15 @@
<div <div
class=" class="
w-[calc(100%+2rem)]
sm:w-[calc(100%+3rem)]
bg-slate-50 dark:bg-zinc-950 -m-4 sm:-m-6 mb-0 sm:mb-0 sm:p-6 p-4 bg-slate-50 dark:bg-zinc-950 -m-4 sm:-m-6 mb-0 sm:mb-0 sm:p-6 p-4
border-b border-slate-200 dark:border-zinc-800" border-b border-slate-200 dark:border-zinc-800"
style="margin-top: min(-1.5rem, calc(-1 * calc({$contentPadding.top}px))); style="margin-top: min(-1.5rem, calc(-1 * calc({$contentPadding.top}px)));
padding-top: max(1.5rem, calc({$contentPadding.top}px));" padding-top: max(1.5rem, calc({$contentPadding.top}px));"
> >
<h1 <h1
class="text-3xl font-bold flex items-center gap-2 class="text-3xl font-bold items-center gap-2 w-full
{$userSettings.font == 'satoshi/nunito' {$userSettings.font == 'satoshi/nunito'
? 'font-display' ? 'font-display'
: ''} {$$props.class ?? ''}" : ''} {$$props.class ?? ''}"