Skip to content

Commit

Permalink
fix: tag dimensions on button and anchor.
Browse files Browse the repository at this point in the history
  • Loading branch information
ItzNotABug committed Jan 13, 2025
1 parent c34c857 commit 71bc639
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/lib/elements/pill.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,11 @@
<slot />
</div>
{/if}

<style>
/* button and anchor tags seem to have special dimens, this should be auto fixed in pink2. */
:global(.tag):where(button, a) {
--p-tag-height: 2.125rem;
--p-tag-content-height: 2.024rem;
}
</style>

0 comments on commit 71bc639

Please sign in to comment.