[gnome-software/1294-available-updates-dot-is-not-aligned-to-the-middle-of-the-menu-item: 59/59] gtk-style.css: Center vertically the needs-attention sidebar row dot




commit 784d4d1f44e0e38af21f5d34bd817f74a62fefef
Author: Milan Crha <mcrha redhat com>
Date:   Mon Jun 28 16:09:25 2021 +0200

    gtk-style.css: Center vertically the needs-attention sidebar row dot
    
    Let the dot be centered vertically, which looks better than when it's
    slightly mis-positioned from the center.
    
    Closes https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1294

 src/gtk-style.css | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gtk-style.css b/src/gtk-style.css
index fb74c8234..c7fd17271 100644
--- a/src/gtk-style.css
+++ b/src/gtk-style.css
@@ -58,11 +58,11 @@ sidebar row.needs-attention > box > label {
                                        to(transparent));
        background-size: 6px 6px, 0 0;
        background-repeat: no-repeat;
-       background-position: right 3px, right 4px;
+       background-position: right center;
 }
 
 sidebar row.needs-attention > box > label:dir(rtl) {
-       background-position: left 3px, left 4px;
+       background-position: left center;
 }
 
 sidebar row.needs-attention:selected > box > label {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]