From ee053880716052b3a75209f3aad989917f65e30a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 17 Oct 2024 19:34:13 +0200 Subject: [PATCH] style: Restore password entry width Commit removed the fixed width that is used by polkit/keyring prompts, with the result that the entries now start at their natural size, and grow as text is entered. Restore the original behavior, but nest the style under .prompt-dialog-password-layout (polkit/keyring) to better differentiate it from entries under ..prompt-dialog-password-grid (mount operations). Fixes: 8d065b558e ("style: Clean up dialogs stylesheet to fix layout issues") Part-of: --- data/theme/gnome-shell-sass/widgets/_dialogs.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data/theme/gnome-shell-sass/widgets/_dialogs.scss b/data/theme/gnome-shell-sass/widgets/_dialogs.scss index 4136bfce5..5b1d1da75 100644 --- a/data/theme/gnome-shell-sass/widgets/_dialogs.scss +++ b/data/theme/gnome-shell-sass/widgets/_dialogs.scss @@ -115,6 +115,10 @@ .prompt-dialog-password-layout { spacing: $base_margin * 2; + + .prompt-dialog-password-entry { + width: 20em; + } } .prompt-dialog-error-label,