Skip to content
Snippets Groups Projects
Commit c5cf0677 authored by rhenck's avatar rhenck
Browse files

Fix radio group not having line-height

#233
parent 26195ee2
No related branches found
No related tags found
No related merge requests found
...@@ -398,7 +398,10 @@ export abstract class ElementFactory { ...@@ -398,7 +398,10 @@ export abstract class ElementFactory {
alignment: element.alignment !== undefined ? element.alignment : 'column', alignment: element.alignment !== undefined ? element.alignment : 'column',
strikeOtherOptions: element.strikeOtherOptions !== undefined ? element.strikeOtherOptions : false, strikeOtherOptions: element.strikeOtherOptions !== undefined ? element.strikeOtherOptions : false,
position: ElementFactory.initPositionProps({ marginBottom: 30, ...element.position }), position: ElementFactory.initPositionProps({ marginBottom: 30, ...element.position }),
styling: ElementFactory.initBasicStyles({ backgroundColor: 'transparent', ...element.styling }) styling: {
...ElementFactory.initBasicStyles({ backgroundColor: 'transparent', ...element.styling }),
lineHeight: element.styling?.lineHeight !== undefined ? element.styling?.lineHeight as number : 135
}
}; };
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment