Browse Source

UI: Fixed position of help icon in custom date config of card widgets

pull/9448/head
rusikv 3 years ago
parent
commit
84f27b1d45
  1. 2
      ui-ngx/src/app/modules/home/components/widget/lib/settings/common/date-format-settings-panel.component.html
  2. 1
      ui-ngx/src/app/modules/home/components/widget/lib/settings/common/date-format-settings-panel.component.scss

2
ui-ngx/src/app/modules/home/components/widget/lib/settings/common/date-format-settings-panel.component.html

@ -21,7 +21,7 @@
<div class="fixed-title-width" translate>date.format</div> <div class="fixed-title-width" translate>date.format</div>
<mat-form-field class="tb-date-format-input" required fxFlex appearance="outline" subscriptSizing="dynamic"> <mat-form-field class="tb-date-format-input" required fxFlex appearance="outline" subscriptSizing="dynamic">
<input matInput [formControl]="dateFormatFormControl" placeholder="{{ 'widget-config.set' | translate }}"> <input matInput [formControl]="dateFormatFormControl" placeholder="{{ 'widget-config.set' | translate }}">
<div matSuffix tb-help-popup="date/date-format" [tb-help-popup-style]="{width: '800px'}"></div> <div matSuffix tb-help-popup="date/date-format" [tb-help-popup-style]="{width: '800px'}" style="line-height: normal"></div>
</mat-form-field> </mat-form-field>
</div> </div>
<mat-divider></mat-divider> <mat-divider></mat-divider>

1
ui-ngx/src/app/modules/home/components/widget/lib/settings/common/date-format-settings-panel.component.scss

@ -51,7 +51,6 @@
.mat-mdc-form-field-icon-suffix { .mat-mdc-form-field-icon-suffix {
display: flex; display: flex;
align-items: center; align-items: center;
line-height: normal;
} }
} }
} }

Loading…
Cancel
Save