diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-add-item-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-add-item-dialog.component.html index 22a0206f7a..2d1514a5d6 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-add-item-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-add-item-dialog.component.html @@ -15,14 +15,17 @@ limitations under the License. --> -
-
+
+

{{ getTitle() }}

- -
-
+ +
@if (isInstalling) {
@@ -36,4 +39,11 @@ (addItem)="onAddItem($event)">
-
+
+ +
+ diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-add-item-dialog.component.scss b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-add-item-dialog.component.scss index 6f8a6cfc2a..66fc802b9b 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-add-item-dialog.component.scss +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-add-item-dialog.component.scss @@ -14,34 +14,21 @@ * limitations under the License. */ -.tb-iot-hub-add-item-dialog { - display: flex; - flex-direction: column; - width: 100%; - height: 100%; -} +@import "../../../../../scss/constants"; -.tb-iot-hub-add-item-header { - display: flex; - align-items: center; - justify-content: space-between; - padding: 16px 24px; - border-bottom: 1px solid rgba(0, 0, 0, 0.12); - flex-shrink: 0; +:host-context(.mat-mdc-dialog-container) { + .mat-mdc-dialog-content { + position: relative; + padding: 0; - h2 { - margin: 0; - font-size: 20px; - font-weight: 500; - line-height: 28px; - color: rgba(0, 0, 0, 0.87); + @media #{$mat-gt-md} { + width: 1000px; + } } -} -.tb-iot-hub-add-item-content { - flex: 1; - overflow: hidden; - position: relative; + .mat-mdc-dialog-actions { + border-top: 1px solid rgba(0, 0, 0, 0.12); + } } .tb-iot-hub-add-item-loading { diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-browse.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-browse.component.html index d510bfc887..eab3d4d501 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-browse.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/iot-hub-browse.component.html @@ -15,7 +15,7 @@ limitations under the License. --> -
+