Browse Source
Fixed Advanced Widget Style Editor rendering (#15731)
* Fixed Advanced Widget Style Editor rendering
* Moved styles to class for styles consistency
pull/15796/head
Maksym Tsymbarov
4 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
5 additions and
3 deletions
-
ui-ngx/src/app/modules/home/components/widget/widget-config.component.html
-
ui-ngx/src/app/modules/home/components/widget/widget-config.component.scss
|
|
|
@ -29,7 +29,7 @@ |
|
|
|
<div *ngIf="displayData" [class.!hidden]="selectedOption !== 'data'" class="mat-content"> |
|
|
|
<ng-container *ngTemplateOutlet="data"></ng-container> |
|
|
|
</div> |
|
|
|
<div [class.!hidden]="selectedOption !== 'appearance'" class="mat-content"> |
|
|
|
<div [class.!hidden]="selectedOption !== 'appearance'" class="mat-content tb-widget-config-fill"> |
|
|
|
<ng-container *ngTemplateOutlet="appearance"></ng-container> |
|
|
|
</div> |
|
|
|
<div [class.!hidden]="selectedOption !== 'card'" [formGroup]="widgetSettings" class="mat-content"> |
|
|
|
@ -227,7 +227,7 @@ |
|
|
|
</div> |
|
|
|
<ng-template #basicMode> |
|
|
|
<div class="tb-widget-config-content"> |
|
|
|
<div class="mat-content" *ngIf="hasBasicModeDirective; else basicModeContent"> |
|
|
|
<div class="mat-content tb-widget-config-fill" *ngIf="hasBasicModeDirective; else basicModeContent"> |
|
|
|
<ng-container #basicModeContainer></ng-container> |
|
|
|
<div class="tb-basic-mode-directive-error" *ngIf="basicModeDirectiveError">{{basicModeDirectiveError}}</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
@ -43,7 +43,9 @@ |
|
|
|
} |
|
|
|
.tb-widget-config-content { |
|
|
|
& > .mat-content { |
|
|
|
height: 100%; |
|
|
|
&.tb-widget-config-fill { |
|
|
|
height: 100%; |
|
|
|
} |
|
|
|
padding-top: 8px; |
|
|
|
@media #{$mat-xs} { |
|
|
|
padding-left: 8px; |
|
|
|
|