Browse Source

Fixed dialog deletion title of entity with long name

pull/11915/head
mpetrov 2 years ago
parent
commit
9fa028b9f7
  1. 2
      ui-ngx/src/app/shared/components/dialog/confirm-dialog.component.html
  2. 4
      ui-ngx/src/app/shared/components/dialog/confirm-dialog.component.scss

2
ui-ngx/src/app/shared/components/dialog/confirm-dialog.component.html

@ -15,7 +15,7 @@
limitations under the License.
-->
<h2 mat-dialog-title>{{data.title}}</h2>
<h2 mat-dialog-title class="dialog-title" tbTruncateWithTooltip>{{data.title}}</h2>
<div mat-dialog-content [innerHTML]="data.message | safe: 'html'"></div>
<div mat-dialog-actions fxLayoutAlign="end center">
<button mat-button color="primary" [mat-dialog-close]="false">{{data.cancel}}</button>

4
ui-ngx/src/app/shared/components/dialog/confirm-dialog.component.scss

@ -17,4 +17,8 @@
.mat-mdc-dialog-content {
padding: 0 24px 24px;
}
.dialog-title {
max-width: 80vw;
}
}

Loading…
Cancel
Save