Blame SOURCES/0001-theme-Use-font-relative-sizes-for-menu-widths.patch
|
|
ab48da |
From a474ae94b4dbe9d5fa21c9b0f6ef028af8a97680 Mon Sep 17 00:00:00 2001
|
|
|
ab48da |
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
|
|
|
ab48da |
Date: Fri, 4 Sep 2015 18:54:44 +0200
|
|
|
ab48da |
Subject: [PATCH] theme: Use font-relative sizes for menu widths
|
|
|
ab48da |
|
|
|
ab48da |
For menus, it makes more sense to pick a width that fits a reasonable amount
|
|
|
ab48da |
of content rather than a fixed amount of screen estate, so use font-relative
|
|
|
ab48da |
sizes instead of pixel values.
|
|
|
ab48da |
|
|
|
ab48da |
https://bugzilla.gnome.org/show_bug.cgi?id=754581
|
|
|
ab48da |
---
|
|
|
ab48da |
data/theme/gnome-shell.css | 6 +++---
|
|
|
ab48da |
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
ab48da |
|
|
|
ab48da |
diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css
|
|
|
ab48da |
index 97634b1..f1e9a23 100644
|
|
|
ab48da |
--- a/data/theme/gnome-shell.css
|
|
|
ab48da |
+++ b/data/theme/gnome-shell.css
|
|
|
ab48da |
@@ -169,7 +169,7 @@ StScrollBar StButton#vhandle:active {
|
|
|
ab48da |
|
|
|
ab48da |
|
|
|
ab48da |
.popup-menu {
|
|
|
ab48da |
- min-width: 200px;
|
|
|
ab48da |
+ min-width: 15em;
|
|
|
ab48da |
}
|
|
|
ab48da |
|
|
|
ab48da |
.popup-menu-arrow {
|
|
|
ab48da |
@@ -733,7 +733,7 @@ StScrollBar StButton#vhandle:active {
|
|
|
ab48da |
}
|
|
|
ab48da |
|
|
|
ab48da |
.aggregate-menu {
|
|
|
ab48da |
- width: 360px;
|
|
|
ab48da |
+ width: 27em;
|
|
|
ab48da |
}
|
|
|
ab48da |
|
|
|
ab48da |
.aggregate-menu .popup-menu-icon {
|
|
|
ab48da |
@@ -1455,7 +1455,7 @@ StScrollBar StButton#vhandle:active {
|
|
|
ab48da |
}
|
|
|
ab48da |
|
|
|
ab48da |
.events-table {
|
|
|
ab48da |
- width: 320px;
|
|
|
ab48da |
+ width: 24em;
|
|
|
ab48da |
spacing-columns: 6pt;
|
|
|
ab48da |
padding: 0 1.4em;
|
|
|
ab48da |
}
|
|
|
ab48da |
--
|
|
|
ab48da |
2.7.2
|
|
|
ab48da |
|