From 1588dad011eebe7cfdf4d65d6d4a6a697914bd23 Mon Sep 17 00:00:00 2001 From: Radek Vykydal Date: Mon, 6 Nov 2023 10:04:21 +0100 Subject: [PATCH] webui: fix password strength indicator layout in horizontal form --- ui/webui/src/components/storage/DiskEncryption.scss | 2 +- ui/webui/src/components/users/Accounts.scss | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ui/webui/src/components/storage/DiskEncryption.scss b/ui/webui/src/components/storage/DiskEncryption.scss index bb1272cb4af..1d908619860 100644 --- a/ui/webui/src/components/storage/DiskEncryption.scss +++ b/ui/webui/src/components/storage/DiskEncryption.scss @@ -1,4 +1,4 @@ -// Span disk encryption password fields to take slightly more width than the default +// Limit the width of input fields #disk-encryption-encrypt-devices ~ .pf-v5-c-check__body { width: min(60ch, 100%); } diff --git a/ui/webui/src/components/users/Accounts.scss b/ui/webui/src/components/users/Accounts.scss index f53ec05624c..dcc4da3b88f 100644 --- a/ui/webui/src/components/users/Accounts.scss +++ b/ui/webui/src/components/users/Accounts.scss @@ -1,4 +1,10 @@ -// Span disk encryption password fields to take slightly more width than the default +// Limit the width of input fields #accounts-create-account { width: min(60ch, 100%); } + +// FIXME: Undo when fixed upstream: https://github.com/patternfly/patternfly/issues/6032 +#accounts-create-account .pf-v5-c-form__group-label.pf-m-info { + flex-direction: column; + align-items: flex-start; +}