File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed
packages/main/src/components Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ const labelSpanClasses = () => {
1414const styles = {
1515 form : {
1616 display : 'grid' ,
17- alignItems : 'center ' ,
17+ alignItems : 'baseline ' ,
1818 rowGap : '0.25rem' ,
1919 columnGap : '0.5rem' ,
2020 gridTemplateColumns : `repeat(12, 1fr)` ,
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import { CheckBox } from '@ui5/webcomponents-react/lib/CheckBox';
33import { Form } from ' @ui5/webcomponents-react/lib/Form' ;
44import { FormGroup } from ' @ui5/webcomponents-react/lib/FormGroup' ;
55import { FormItem } from ' @ui5/webcomponents-react/lib/FormItem' ;
6+ import { TextArea } from ' @ui5/webcomponents-react/lib/TextArea' ;
67import { Input } from ' @ui5/webcomponents-react/lib/Input' ;
78import { InputType } from ' @ui5/webcomponents-react/lib/InputType' ;
89import { Option } from ' @ui5/webcomponents-react/lib/Option' ;
@@ -55,6 +56,9 @@ import { DocsHeader } from '@shared/stories/DocsHeader';
5556 <Option >Italy</Option >
5657 </Select >
5758 </FormItem >
59+ <FormItem label = " Additional Comment" >
60+ <TextArea rows = { 5 } style = { { width: ' 210px' }} />
61+ </FormItem >
5862 <FormItem label = { ' Home address' } >
5963 <CheckBox checked />
6064 </FormItem >
Original file line number Diff line number Diff line change @@ -29,14 +29,11 @@ const useStyles = createUseStyles(
2929 label : {
3030 gridColumnEnd : 'span var(--ui5wcr_form_label_span)' ,
3131 justifySelf : 'var(--ui5wcr_form_label_text_align)' ,
32- textAlign : 'var(--ui5wcr_form_label_text_align)' ,
33- alignSelf : 'start' ,
34- paddingTop : CssSizeVariables . sapWcrFormLabelPaddingTop ,
35- paddingBottom : '0.075rem'
32+ textAlign : 'var(--ui5wcr_form_label_text_align)'
3633 } ,
3734 content : {
38- gridColumnEnd : 'span var(--ui5wcr_form_content_span) ' ,
39- alignSelf : 'end '
35+ display : 'flex ' ,
36+ gridColumnEnd : 'span var(--ui5wcr_form_content_span) '
4037 }
4138 } ,
4239 { name : 'FormItem' }
You can’t perform that action at this time.
0 commit comments