[gnome-software: 1/2] style: Fix background of ‘Work’ category button




commit 2229520094c348691988b5ed8bd76816832c61d2
Author: Philip Withnall <pwithnall endlessos org>
Date:   Thu Oct 7 13:41:18 2021 +0100

    style: Fix background of ‘Work’ category button
    
    The CSS for the background doesn’t seem to work correctly with GTK4.
    While that’s being investigated in
    https://gitlab.gnome.org/GNOME/gtk/-/issues/4324 (since it might be a
    GTK issue or an issue with the gnome-software CSS), put a workaround in
    place which seems to fix the issue.
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 src/gtk-style.css | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/gtk-style.css b/src/gtk-style.css
index e4400ef22..c824ffc95 100644
--- a/src/gtk-style.css
+++ b/src/gtk-style.css
@@ -270,6 +270,7 @@ clamp.large .category-tile:not(.category-tile-iconless) {
 }
 
 .category-tile.category-work {
+       padding: 1px; /* FIXME: work around https://gitlab.gnome.org/GNOME/gtk/-/issues/4324 */
        box-shadow: inset 0 0 0 1px #efd185;
        color: #1c71d8;
        background-color:#fdf8d7;


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