Skip to content

Commit

Permalink
webui: fix password strength indicator layout in horizontal form
Browse files Browse the repository at this point in the history
  • Loading branch information
rvykydal committed Nov 6, 2023
1 parent 415843e commit 1588dad
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/webui/src/components/storage/DiskEncryption.scss
Original file line number Diff line number Diff line change
@@ -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%);
}
8 changes: 7 additions & 1 deletion ui/webui/src/components/users/Accounts.scss
Original file line number Diff line number Diff line change
@@ -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;
}

0 comments on commit 1588dad

Please sign in to comment.