[gnome-tour/bilelmoussaoui/headerbar] css: add a min-width for headerbar buttons



commit dfb29efe8e09ce99ced33a0e322326adb55cc565
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date:   Sat Feb 6 11:40:36 2021 +0100

    css: add a min-width for headerbar buttons
    
    as the 'close' button is smaller, there's a weird
    allocation thing when going from page 1 to page 2 for the first time

 data/resources/style.css | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/data/resources/style.css b/data/resources/style.css
index 1bf6cdd..feeaf1e 100644
--- a/data/resources/style.css
+++ b/data/resources/style.css
@@ -20,6 +20,11 @@
   transition-duration: 250ms;
   transition-timing-function: ease-in-out;
 }
+
+window .titlebar button {
+  min-width: 60px;
+}
+
 /* pages */
 
 @keyframes welcome-bg-move {


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