Skip to content

Commit

Permalink
fix(c-button): auto max-width (not 100%)
Browse files Browse the repository at this point in the history
100% would be 100% width of contiabner. Seems undesirable, except maybe on Portal. But Portal already manages width specifically.

(I think I was moving to fast when I wrote 100%.)
  • Loading branch information
wesleyboar committed Nov 14, 2022
1 parent 7227067 commit 369b5a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/_imports/components/c-button.css
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ a.c-button {
.c-button--as-link
) {
width: auto;
--max-width: 100%;
--max-width: auto;
}
.c-button--width-short {
width: var(--min-width);
Expand Down

0 comments on commit 369b5a1

Please sign in to comment.