Skip to content

Commit

Permalink
fix: CMS button--as-link has button padding (#298)
Browse files Browse the repository at this point in the history
It should have no padding.
  • Loading branch information
wesleyboar authored Jan 11, 2024
1 parent 9b44e31 commit 707343c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/components/c-button--cms.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/core-styles.cms.css

Large diffs are not rendered by default.

10 changes: 8 additions & 2 deletions src/lib/_imports/components/c-button--cms.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@


:--main-content {
& :--c-button,
& :--c-button--primary,
& :--c-button--secondary,
& :--c-button--tertiary,
& :--c-button--is-active,
& :--form__button {
padding: 10px 20px;

Expand All @@ -14,7 +17,10 @@
}
}

:--c-button,
:--c-button--primary,
:--c-button--secondary,
:--c-button--tertiary,
:--c-button--is-active,
:--form__button {
text-transform: uppercase;
}

0 comments on commit 707343c

Please sign in to comment.