Browse Source

IoT Hub device package delete: the title uses mat-dialog-title

pull/16694/head
Vladyslav_Prykhodko 2 weeks ago
parent
commit
265a4a8ebd
  1. 4
      ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.html
  2. 6
      ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.scss

4
ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.html

@ -5,9 +5,9 @@
SPDX-License-Identifier: Apache-2.0 AND BUSL-1.1
-->
<mat-dialog-content>
<h2 mat-dialog-title class="tb-iot-hub-delete-title">{{ 'iot-hub.remove-confirm-title' | translate:{ name: data.itemName } }}</h2>
<mat-dialog-content class="!pt-0">
<div class="flex flex-col gap-5">
<h2 class="tb-iot-hub-delete-title">{{ 'iot-hub.remove-confirm-title' | translate:{ name: data.itemName } }}</h2>
<p class="tb-iot-hub-delete-desc">{{ description }}</p>
@if (keptGroups.length) {
<div class="tb-form-hint tb-primary-fill">

6
ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-delete-dialog.component.scss

@ -15,6 +15,12 @@
letter-spacing: 0.1px;
color: rgba(0, 0, 0, 0.87);
margin: 0;
padding: 24px 24px 20px;
// No baseline strut: the title keeps its own line height
&::before {
display: none;
}
}
.tb-iot-hub-delete-desc {

Loading…
Cancel
Save