From 6aeb225a171fc4d999d42f389e170e96fc01f54d Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Wed, 6 May 2026 14:52:52 +0300 Subject: [PATCH] fix(iot-hub): widen connectivity cards when exactly two methods are available Apply a tb-connectivity-cards-pair modifier to the card grid when availableInstallMethods.length === 2 and switch its tracks to repeat(auto-fill, minmax(300px, 1fr)) so the two cards spread to sensible widths instead of squeezing into the 240px minimum. --- .../device-install-dialog.component.html | 3 ++- .../device-install-dialog.component.scss | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html index 82f8ea9a2b..7b4f00ecc0 100644 --- a/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html +++ b/ui-ngx/src/app/modules/home/components/iot-hub/device-install-dialog/device-install-dialog.component.html @@ -30,7 +30,8 @@ @case ('connectivity') {

{{ 'iot-hub.device-install-select-connectivity' | translate }}

-
+
@for (ct of availableInstallMethods; track ct) {