Skip to content

Commit

Permalink
fix(button): incorrect height on large buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
eTallang committed Dec 2, 2024
1 parent dc99fce commit 81f3fb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/button/button.css
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
}

.cx-btn__lg {
padding: var(--cx-spacing-5) var(--cx-spacing-8);
padding: var(--cx-spacing-6) var(--cx-spacing-8);
font-size: 1.125rem;
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/button/button.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const Danger: StoryObj = {
export const Icon: StoryObj = {
render: () => html`
<button class="cx-btn__danger cx-btn__lg cx-btn__icon cx-mr-6">
<div style="width: 24px; height: 24px; border: 1px solid black"></div>
<div style="width: 32px; height: 32px; border: 1px solid black"></div>
</button>
<button class="cx-btn__danger cx-btn__icon cx-mr-6">
<div style="width: 24px; height: 24px; border: 1px solid black"></div>
Expand Down

0 comments on commit 81f3fb1

Please sign in to comment.