Skip to content

Commit 8fc21e6

Browse files
committed
fix: fixing full width params on button component
1 parent 1080eda commit 8fc21e6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/components/button/src/button.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,9 @@ bolt-button {
431431

432432
// Button widths
433433

434+
435+
// Button width variations
436+
bolt-button[width="full"],
434437
.c-bolt-button--full {
435438
width: 100%;
436439
}
@@ -440,6 +443,7 @@ bolt-button {
440443
border-radius: 50%;
441444
}
442445

446+
bolt-button[width="full@small"],
443447
.c-bolt-button--full\@small {
444448
@media screen and (max-width: map-get($bolt-breakpoints, small)) {
445449
width: 100%;

0 commit comments

Comments
 (0)