[libadwaita/wip/exalm/headerbar-fix: 17/17] stylesheet: Move header bar padding into an internal box




commit 7a30a7b6ee8cdb684a6396a81328ca17a437786f
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Fri Jun 11 15:46:06 2021 +0500

    stylesheet: Move header bar padding into an internal box
    
    Make sure the edges are draggable too.

 src/stylesheet/widgets/_header-bar.scss | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/src/stylesheet/widgets/_header-bar.scss b/src/stylesheet/widgets/_header-bar.scss
index d4d614e1..21bd74c4 100644
--- a/src/stylesheet/widgets/_header-bar.scss
+++ b/src/stylesheet/widgets/_header-bar.scss
@@ -1,5 +1,4 @@
 headerbar {
-  padding: 0 6px;
   min-height: 46px;
   border-width: 0 0 1px;
   border-style: solid;
@@ -7,6 +6,8 @@ headerbar {
   background-color: $headerbar_bg_color;
 
   > windowhandle > box {
+    padding: 0 6px;
+
     &,
     > box.start,
     > box.end {
@@ -28,8 +29,11 @@ headerbar {
   }
 
   &.default-decoration {
-    min-height: 28px;
-    padding: 4px;
+    min-height: 36px;
+
+    > windowhandle > box {
+      padding: 0 4px;
+    }
 
     windowcontrols {
       button,


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