Skip to content

Commit cb62961

Browse files
fix(Grid): fix incorrect layout when rendered before Device was initialized (#418)
1 parent b5421a6 commit cb62961

File tree

9 files changed

+600
-680
lines changed

9 files changed

+600
-680
lines changed

packages/main/src/components/Form/Form.jss.ts

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,8 @@ import { ThemingParameters } from '@ui5/webcomponents-react-base/lib/ThemingPara
22

33
const styles = {
44
formTitle: {
5-
borderBottom: `1px solid ${ThemingParameters.sapGroup_TitleBorderColor}`
6-
},
7-
formTitlePaddingBottom: {
8-
paddingBottom: '2em'
9-
},
10-
formPaddingBottom: {
11-
paddingBottom: '1em'
12-
},
13-
formGroupStyle: {
14-
width: '100%',
15-
paddingTop: '0.25em'
16-
},
17-
formItemTopDiv: {
18-
alignItems: 'center'
19-
},
20-
formLabel: {
21-
paddingRight: '0.5em'
22-
},
23-
formElement: {
24-
display: 'block'
5+
borderBottom: `1px solid ${ThemingParameters.sapGroup_TitleBorderColor}`,
6+
marginBottom: '2rem'
257
}
268
};
279

0 commit comments

Comments
 (0)