Skip to content

Commit

Permalink
fix: note root banner style, closes #13
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <i@innei.in>
  • Loading branch information
Innei committed Apr 18, 2024
1 parent 2bcf16c commit 70e282c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/modules/note/NoteBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const NoteRootBanner = () => {
if (!banner) return null

return (
<div className="mx-[var(--padding-h)] mb-4 mt-8">
<div className="mb-4 mt-8">
<NoteBanner {...banner} />
</div>
)
Expand All @@ -64,7 +64,8 @@ export const NoteBanner: FC<{
className={clsxm(
'mt-4 flex justify-center p-4 text-base leading-8',
'lg:-ml-12 lg:w-[calc(100%+6rem)]',
'-ml-4 w-[calc(100%+2rem)]',
// '-ml-4 w-[calc(100%+2rem)]',
'mx-[var(--padding-h)]',

bannerClassNames[banner.type as keyof typeof bannerClassNames],
banner.className,
Expand Down

0 comments on commit 70e282c

Please sign in to comment.