(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:
Nathan Vasse
2023-05-25 15:41:30 +02:00
committed by NathanVss
parent 30d08a956b
commit 1cb1b48c8d
2 changed files with 6 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
---
"@openfun/cunningham-react": patch
---
add min-width to Field

View File

@@ -4,6 +4,7 @@
width: var(--c--components--forms-field--width);
color: var(--c--components--forms-field--color);
box-sizing: border-box;
min-width: 0;
&__footer {
font-size: var(--c--components--forms-field--font-size);