(react) add fullWidth props to Button

Can be useful in many situations.
This commit is contained in:
Nathan Vasse
2023-05-25 15:41:07 +02:00
committed by NathanVss
parent d767d61dd2
commit 30d08a956b
6 changed files with 67 additions and 0 deletions

View File

@@ -30,6 +30,11 @@
pointer-events: none;
}
&--full-width {
width: 100%;
justify-content: center;
}
&--medium {
height: var(--c--components--button--medium-height);
font-size: var(--c--components--button--medium-font-size);