css: Symbolic icons size must actually be specified relative to font size
Commit a277f8e0e1
prevents icons from being
scaled when the global desktop resolution changes which is wrong since
symbolic icons are supposed to be treated like text.
Instead of specifying their size in pixels, go back to em but with a value
adjusted to the new font size that actually yields unscaled symbolic icons for
the default resolution.
https://bugzilla.gnome.org/show_bug.cgi?id=671657
This commit is contained in:
parent
895745ac14
commit
9b5bb62aa7
@ -251,7 +251,7 @@ StScrollBar StButton#vhandle:hover
|
|||||||
}
|
}
|
||||||
|
|
||||||
.popup-menu-icon {
|
.popup-menu-icon {
|
||||||
icon-size: 16px;
|
icon-size: 1.09em;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Switches */
|
/* Switches */
|
||||||
@ -479,7 +479,7 @@ StScrollBar StButton#vhandle:hover
|
|||||||
}
|
}
|
||||||
|
|
||||||
.system-status-icon {
|
.system-status-icon {
|
||||||
icon-size: 16px;
|
icon-size: 1.09em;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Overview */
|
/* Overview */
|
||||||
@ -617,7 +617,7 @@ StScrollBar StButton#vhandle:hover
|
|||||||
}
|
}
|
||||||
|
|
||||||
.search-entry-icon {
|
.search-entry-icon {
|
||||||
icon-size: 16px;
|
icon-size: 1em;
|
||||||
color: #8d8f8a;
|
color: #8d8f8a;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user