[gnome-tour/wip/jimmac/whitespace-workaround] style: adjust whitespace




commit 4eb18325b8f77afda7127d1385ae253cc4ed5c08
Author: Jakub Steiner <jimmac gmail com>
Date:   Mon Mar 7 21:22:09 2022 +0100

    style: adjust whitespace
    
    - for some reason background-position no longer works (as tested in the inspector)
    - scale down instead as a woraround
    
    Fixes https://gitlab.gnome.org/GNOME/gnome-tour/-/issues/50

 data/resources/style.css | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/resources/style.css b/data/resources/style.css
index d9bb2cd..a35f989 100644
--- a/data/resources/style.css
+++ b/data/resources/style.css
@@ -37,13 +37,13 @@ window .titlebar button {
     background: url('/org/gnome/Tour/hand-fg.svg'),
                 url('/org/gnome/Tour/updown-bg.svg');
     background-repeat: no-repeat;
-    background-position: center 30%;
+    background-size: 35rem;
     animation: up-and-down 2s ease-in-out infinite alternate;
     }
   .page:nth-child(6) {   /* left right */
     background: url('/org/gnome/Tour/hand-fg.svg'),
                 url('/org/gnome/Tour/leftright-bg.svg');
     background-repeat: no-repeat;
-    background-position: center 30%;
+    background-size: 35rem;
     animation: left-and-right 2s ease-in-out infinite alternate;
     }


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