Browse Source
Merge pull request #9448 from rusikv/bug/custom-date-card-widget-icon
Fixed position of help icon in custom date config of card widgets
pull/9473/head
Igor Kulikov
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
7 additions and
5 deletions
-
ui-ngx/src/app/modules/home/components/widget/lib/settings/common/date-format-settings-panel.component.html
-
ui-ngx/src/app/modules/home/components/widget/lib/settings/common/date-format-settings-panel.component.scss
|
|
@ -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 matIconSuffix tb-help-popup="date/date-format" [tb-help-popup-style]="{width: '800px'}"></div> |
|
|
</mat-form-field> |
|
|
</mat-form-field> |
|
|
</div> |
|
|
</div> |
|
|
<mat-divider></mat-divider> |
|
|
<mat-divider></mat-divider> |
|
|
|
|
|
@ -48,10 +48,12 @@ |
|
|
} |
|
|
} |
|
|
.mat-mdc-form-field.tb-date-format-input { |
|
|
.mat-mdc-form-field.tb-date-format-input { |
|
|
.mat-mdc-text-field-wrapper.mdc-text-field--outlined { |
|
|
.mat-mdc-text-field-wrapper.mdc-text-field--outlined { |
|
|
.mat-mdc-form-field-icon-suffix { |
|
|
.mat-mdc-form-field-flex { |
|
|
display: flex; |
|
|
.mat-mdc-form-field-icon-suffix { |
|
|
align-items: center; |
|
|
display: flex; |
|
|
line-height: normal; |
|
|
align-items: center; |
|
|
|
|
|
line-height: normal; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|