Skip to content

Commit

Permalink
Merge pull request #12 from computas/implement-button
Browse files Browse the repository at this point in the history
fix(button): incorrect height on large buttons
  • Loading branch information
eTallang authored Dec 2, 2024
2 parents f5268ab + 81f3fb1 commit 56db334
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 56db334

Please sign in to comment.