From 2677eff78e1c9c20ce05647a235d48731e37135c Mon Sep 17 00:00:00 2001 From: Artem Dzhereleiko Date: Fri, 27 Oct 2023 17:06:52 +0300 Subject: [PATCH 1/2] UI: Fixed width for alarm rule in dialog --- .../components/profile/add-device-profile-dialog.component.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/ui-ngx/src/app/modules/home/components/profile/add-device-profile-dialog.component.scss b/ui-ngx/src/app/modules/home/components/profile/add-device-profile-dialog.component.scss index ca54ae2053..c2cc55fb83 100644 --- a/ui-ngx/src/app/modules/home/components/profile/add-device-profile-dialog.component.scss +++ b/ui-ngx/src/app/modules/home/components/profile/add-device-profile-dialog.component.scss @@ -45,6 +45,7 @@ overflow: hidden; .mat-horizontal-stepper-wrapper { + max-width: 100%; flex: 1 1 100%; } From 883c51f334cc67197e666abc927044ef70286a1b Mon Sep 17 00:00:00 2001 From: Artem Dzhereleiko Date: Wed, 1 Nov 2023 13:14:19 +0200 Subject: [PATCH 2/2] UI: Refactoring --- .../profile/add-device-profile-dialog.component.scss | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/profile/add-device-profile-dialog.component.scss b/ui-ngx/src/app/modules/home/components/profile/add-device-profile-dialog.component.scss index c2cc55fb83..0018264075 100644 --- a/ui-ngx/src/app/modules/home/components/profile/add-device-profile-dialog.component.scss +++ b/ui-ngx/src/app/modules/home/components/profile/add-device-profile-dialog.component.scss @@ -40,13 +40,10 @@ padding: 0 !important; .mat-stepper-horizontal { - display: flex; - height: 100%; overflow: hidden; .mat-horizontal-stepper-wrapper { - max-width: 100%; - flex: 1 1 100%; + max-height: 100%; } .mat-horizontal-content-container {