[gnome-shell-sass] style: Use font-relative sizes for menu widths
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-sass] style: Use font-relative sizes for menu widths
- Date: Thu, 15 Oct 2015 17:54:46 +0000 (UTC)
commit d85e53fbd9cd2d80aed543cf4a436413d6985ebe
Author: Florian Müllner <fmuellner gnome org>
Date: Fri Sep 4 18:06:26 2015 +0200
style: Use font-relative sizes for menu widths
For menus, it makes more sense to pick a width that fits a reasonable amount
of content rather than a fixed amount of screen estate, so use font-relative
sizes instead of pixel values.
_common.scss | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/_common.scss b/_common.scss
index 68e2f3a..d789cd3 100644
--- a/_common.scss
+++ b/_common.scss
@@ -435,10 +435,10 @@ StScrollBar {
spacing-columns: 1em;
}
-/* Popvers/Menus */
+/* Popovers/Menus */
.popup-menu {
- min-width: 200px;
+ min-width: 15em;
.popup-menu-arrow { } //defined globally in the TOP BAR
.popup-sub-menu {
@@ -856,7 +856,7 @@ StScrollBar {
/* Message list */
.message-list {
- width: 420px;
+ width: 31.5em;
}
.message-list-sections {
@@ -943,7 +943,7 @@ StScrollBar {
}
.aggregate-menu {
- min-width: 280px;
+ min-width: 21em;
.popup-menu-icon { padding: 0 4px; }
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]