fix heading formatting when multiline

This commit is contained in:
Benjamin Palko 2026-03-26 22:27:19 -04:00
parent 1d172dabac
commit 87242aaea1
5 changed files with 5 additions and 5 deletions

View file

@ -11,7 +11,7 @@
<h2
{...props}
class={twMerge(
'before:border-l-secondary bg-base-200/60 my-3 w-full overflow-hidden rounded-lg py-2 text-2xl font-light before:mr-4 before:border-l-6 before:py-8',
'before:border-l-secondary bg-base-200/40 relative my-3 w-full overflow-hidden rounded-lg py-2 pl-4 text-2xl font-light before:absolute before:top-0 before:left-0 before:h-full before:border-l-6 before:py-8',
clsx(className)
)}
>