Skip to content

Commit 81235ae

Browse files
authored
fix(Label): position split (#860)
1 parent 5493d1c commit 81235ae

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@cube-dev/ui-kit": patch
3+
---
4+
5+
Fix alignment in label position `split`.

src/components/form/FieldWrapper/FieldWrapper.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ const FieldElement = tasty({
2222
'has-split': 'auto auto',
2323
},
2424
gap: 0,
25-
placeItems: 'baseline stretch',
25+
placeItems: {
26+
'': 'baseline stretch',
27+
'has-split': 'center',
28+
},
2629
placeContent: {
2730
'': 'initial',
2831
'has-split': 'space-between',

0 commit comments

Comments
 (0)