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: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3511>
This commit is contained in:
Florian Müllner 2024-10-17 19:34:13 +02:00
parent ecdb062a4a
commit ee05388071

View File

@ -115,6 +115,10 @@
.prompt-dialog-password-layout { .prompt-dialog-password-layout {
spacing: $base_margin * 2; spacing: $base_margin * 2;
.prompt-dialog-password-entry {
width: 20em;
}
} }
.prompt-dialog-error-label, .prompt-dialog-error-label,