From accd65c6524302d697e984ee1f184251489b7aff Mon Sep 17 00:00:00 2001 From: ochi12 Date: Mon, 23 Dec 2024 15:11:47 +0800 Subject: [PATCH] initial commit: reworked prompt dialog padding and border-radius --- gnome-shell/src/gnome-shell-sass/widgets/_dialogs.scss | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gnome-shell/src/gnome-shell-sass/widgets/_dialogs.scss b/gnome-shell/src/gnome-shell-sass/widgets/_dialogs.scss index ad4db615ad..aac5433d3d 100644 --- a/gnome-shell/src/gnome-shell-sass/widgets/_dialogs.scss +++ b/gnome-shell/src/gnome-shell-sass/widgets/_dialogs.scss @@ -1,5 +1,7 @@ /* Modal Dialogs */ +$dialog_padding: $base_padding * 4 $base_padding * 3 $base_padding * 3 $base_padding * 3; + .headline { @extend %title_4; } @@ -87,8 +89,9 @@ /* Password or Authentication Dialog */ .prompt-dialog { - width: 28em; - + width: 26em; + padding: $dialog_padding; // Yaru change: padding match to quick settings + border-radius: $yaru_menu_border_radius; // Yaru change: match border-radius to quick settings .modal-dialog-content-box { margin-bottom: $base_margin * 6; }