theme: 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. https://bugzilla.gnome.org/show_bug.cgi?id=754581
This commit is contained in:
@ -408,9 +408,9 @@ StScrollBar {
|
||||
spacing-rows: 15px;
|
||||
spacing-columns: 1em; }
|
||||
|
||||
/* Popvers/Menus */
|
||||
/* Popovers/Menus */
|
||||
.popup-menu {
|
||||
min-width: 200px; }
|
||||
min-width: 15em; }
|
||||
.popup-menu .popup-sub-menu {
|
||||
background-color: black;
|
||||
box-shadow: inset 0 -1px 0px #0d0d0d; }
|
||||
@ -752,7 +752,7 @@ StScrollBar {
|
||||
|
||||
/* Message list */
|
||||
.message-list {
|
||||
width: 420px; }
|
||||
width: 31.5em; }
|
||||
|
||||
.message-list-sections {
|
||||
spacing: 1.5em; }
|
||||
@ -823,7 +823,7 @@ StScrollBar {
|
||||
color: transparent; }
|
||||
|
||||
.aggregate-menu {
|
||||
min-width: 280px; }
|
||||
min-width: 21em; }
|
||||
.aggregate-menu .popup-menu-icon {
|
||||
padding: 0 4px; }
|
||||
|
||||
|
Submodule data/theme/gnome-shell-sass updated: 83b896b0e1...d85e53fbd9
@ -408,9 +408,9 @@ StScrollBar {
|
||||
spacing-rows: 15px;
|
||||
spacing-columns: 1em; }
|
||||
|
||||
/* Popvers/Menus */
|
||||
/* Popovers/Menus */
|
||||
.popup-menu {
|
||||
min-width: 200px; }
|
||||
min-width: 15em; }
|
||||
.popup-menu .popup-sub-menu {
|
||||
background-color: #343a3a;
|
||||
box-shadow: inset 0 -1px 0px #282c2c; }
|
||||
@ -752,7 +752,7 @@ StScrollBar {
|
||||
|
||||
/* Message list */
|
||||
.message-list {
|
||||
width: 420px; }
|
||||
width: 31.5em; }
|
||||
|
||||
.message-list-sections {
|
||||
spacing: 1.5em; }
|
||||
@ -823,7 +823,7 @@ StScrollBar {
|
||||
color: transparent; }
|
||||
|
||||
.aggregate-menu {
|
||||
min-width: 280px; }
|
||||
min-width: 21em; }
|
||||
.aggregate-menu .popup-menu-icon {
|
||||
padding: 0 4px; }
|
||||
|
||||
|
Reference in New Issue
Block a user