summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Müllner <fmuellner@gnome.org>2017-05-01 12:41:41 +0200
committerFlorian Müllner <fmuellner@gnome.org>2017-05-05 00:45:46 +0200
commitb0640081e72fa96cd9e54e794e1cad45350ef232 (patch)
treeecf9f750016d4450ebdde1b4dfdcc8a0060b0427
parente94bce1fcfbcbe00f6a6375e992192c9e1a4ffb5 (diff)
downloadgnome-shell-sass-b0640081e72fa96cd9e54e794e1cad45350ef232.tar.gz
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
-rw-r--r--_common.scss10
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 {