[gnome-shell-sass] theme: Use font-relative width for prompts



commit b0640081e72fa96cd9e54e794e1cad45350ef232
Author: Florian Müllner <fmuellner gnome org>
Date:   Mon May 1 12:41:41 2017 +0200

    theme: Use font-relative width for prompts
    
    The usual expectation when selecting large fonts is for content to
    be bigger, not that less content is displayed. While not always
    possible, there's no reason not to scale modal dialogues with the
    font size.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=782000

 _common.scss |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/_common.scss b/_common.scss
index 54d9f39..30e3cdd 100644
--- a/_common.scss
+++ b/_common.scss
@@ -300,7 +300,7 @@ StScrollBar {
   }
 
   .mount-question-dialog-subject {
-      max-width: 500px;
+      max-width: 34em;
   }
 
   .show-processes-dialog-subject:rtl,
@@ -353,7 +353,7 @@ StScrollBar {
 
 .prompt-dialog {
   //this is the width of the entire modal popup
-  width: 500px;
+  width: 34em;
   border: 3px solid $_bubble_borders_color;
 }
 
@@ -1147,9 +1147,9 @@ StScrollBar {
 /* NETWORK DIALOGS */
 
 .nm-dialog {
-  max-height: 500px;
-  min-height: 450px;
-  min-width: 470px;
+  max-height: 34em;
+  min-height: 31em;
+  min-width: 32em;
 }
 
   .nm-dialog-content {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]