✨(react) add min-width to Field
Without this new property the components using Field ( Input, Select, ... ) would not properly fit by default inside a flex parent.
This commit is contained in:
5
.changeset/swift-snakes-rescue.md
Normal file
5
.changeset/swift-snakes-rescue.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@openfun/cunningham-react": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
add min-width to Field
|
||||||
@@ -4,6 +4,7 @@
|
|||||||
width: var(--c--components--forms-field--width);
|
width: var(--c--components--forms-field--width);
|
||||||
color: var(--c--components--forms-field--color);
|
color: var(--c--components--forms-field--color);
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
min-width: 0;
|
||||||
|
|
||||||
&__footer {
|
&__footer {
|
||||||
font-size: var(--c--components--forms-field--font-size);
|
font-size: var(--c--components--forms-field--font-size);
|
||||||
|
|||||||
Reference in New Issue
Block a user