Skip to content

Commit 95040f0

Browse files
authored
Merge pull request #3602 from czwe-01/thulasizwe/f/section-separator
fix: styling
2 parents f088d0f + f943e59 commit 95040f0

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

shesha-reactjs/src/components/sectionSeparator/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,13 @@ export const SectionSeparator: FC<ISectionSeparatorProps> = ({
105105
return vertical ? (
106106
<div
107107
className={styles.vertical}
108-
style={{ ...borderStyle, ...containerStyle, height: addPx(lineHeight || '0.9em') }}
108+
style={{ ...borderStyle, ...containerStyle, width: 'max-content', height: addPx(lineHeight || '0.9em') }}
109109
></div>
110110
) : (
111111
<div
112112
style={{
113113
...containerStyle,
114+
height: 'max-content',
114115
width: addPx(lineWidth),
115116
}}
116117
key={id}

shesha-reactjs/src/designer-components/container/containerComponent.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ const ContainerComponent: IToolboxComponent<IContainerComponentProps> = {
6666
wrapperStyle={{
6767
...wrapperStyles,
6868
alignSelf: model.alignSelf,
69+
justifySelf: model.justifySelf,
6970
...getLayoutStyle({ ...model, style: model?.wrapperStyle }, { data: formData, globalState })
7071
}}
7172
style={{

0 commit comments

Comments
 (0)