diff --git a/src/sql/parts/modelComponents/formContainer.component.ts b/src/sql/parts/modelComponents/formContainer.component.ts index 478f72f865..ce477c08c5 100644 --- a/src/sql/parts/modelComponents/formContainer.component.ts +++ b/src/sql/parts/modelComponents/formContainer.component.ts @@ -45,7 +45,7 @@ class FormItem { template: `
-
+
@@ -179,8 +179,12 @@ export default class FormContainer extends ContainerBase impleme } private getItemTitleFontSize(item: FormItem): string { + let defaultFontSize = '14px'; + if (this.isInGroup(item)) { + defaultFontSize = '12px'; + } let itemConfig = item.config; - return itemConfig && itemConfig.titleFontSize ? this.convertSize(itemConfig.titleFontSize, '11px') : '11px'; + return itemConfig && itemConfig.titleFontSize ? this.convertSize(itemConfig.titleFontSize, defaultFontSize) : defaultFontSize; } private getActionComponents(item: FormItem): FormItem[] { diff --git a/src/sql/parts/modelComponents/formLayout.css b/src/sql/parts/modelComponents/formLayout.css index f6c8626662..c4a4d216fb 100644 --- a/src/sql/parts/modelComponents/formLayout.css +++ b/src/sql/parts/modelComponents/formLayout.css @@ -18,7 +18,7 @@ } .form-vertical-container { - padding-bottom: 15px; + padding-bottom: 5px; width: 100%; } @@ -57,11 +57,8 @@ display: table-cell; } -.form-group-item .form-item-row, -.form-group-item.form-cell { - padding-left: 30px; -} - .form-group-label { + padding-top: 3px; padding-bottom: 0px; -} \ No newline at end of file + font-weight: bold; +}