UI: Fixed adaptive manage layout dialog
This commit is contained in:
parent
bc296d698e
commit
d7ba724f6a
@ -24,7 +24,7 @@
|
||||
<mat-icon class="material-icons">close</mat-icon>
|
||||
</button>
|
||||
</mat-toolbar>
|
||||
<div mat-dialog-content style="width: 400px">
|
||||
<div mat-dialog-content style="width: 400px; max-width: 100%;">
|
||||
<form [formGroup]="addBreakpointFormGroup">
|
||||
<mat-form-field appearance="outline">
|
||||
<mat-label translate>layout.breakpoint</mat-label>
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
<mat-icon class="material-icons">close</mat-icon>
|
||||
</button>
|
||||
</mat-toolbar>
|
||||
<div mat-dialog-content style="min-width: 300px; padding: 16px">
|
||||
<div mat-dialog-content>
|
||||
<section class="tb-form-panel no-padding no-border">
|
||||
<div class="tb-form-row space-between">
|
||||
<div class="fixed-title-width" translate>dashboard.layout</div>
|
||||
|
||||
@ -185,6 +185,14 @@ $tb-warn: mat.get-color-from-palette(map-get($tb-theme, warn), text);
|
||||
}
|
||||
}
|
||||
|
||||
:host-context(.tb-fullscreen-dialog .mat-mdc-dialog-container) {
|
||||
.mat-mdc-dialog-content {
|
||||
width: 550px;
|
||||
max-width: 100%;
|
||||
padding: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
::ng-deep {
|
||||
/* Alarm tooltip with side-to-side movement */
|
||||
.tb-layout-error-tooltip-right {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user