Skip to content

Commit

Permalink
fix(style): padding right for icon on announcement banner
Browse files Browse the repository at this point in the history
  • Loading branch information
chayapatr committed Aug 3, 2024
1 parent 431d838 commit 010e99a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/announcement.astro
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ const activeAnnouncement = (() => {
class="block bg-black px-6 py-4 text-sm text-white sm:text-base"
href={activeAnnouncement.link}
>
<Icon icon="mdi:megaphone" inline /> {activeAnnouncement.message}
<div class="pr-1">
<Icon icon="mdi:megaphone" inline />
</div>
{activeAnnouncement.message}
</a>
)
}

0 comments on commit 010e99a

Please sign in to comment.