[libadwaita/wip/exalm/headerbar-fix] stylesheet: Move header bar padding into an internal box
- From: Alexander Mikhaylenko <alexm src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [libadwaita/wip/exalm/headerbar-fix] stylesheet: Move header bar padding into an internal box
 
- Date: Fri, 11 Jun 2021 10:51:49 +0000 (UTC)
 
commit 7be23ef5e2a351f6fe3ddc934147fe866bdf0e52
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 9a834c6f..9e05f0d3 100644
--- a/src/stylesheet/widgets/_header-bar.scss
+++ b/src/stylesheet/widgets/_header-bar.scss
@@ -6,7 +6,6 @@ $_header_bar_gradient: linear-gradient(to top, darken($_header_bar_color, 2%), l
 }
 
 headerbar {
-  padding: 0 6px;
   min-height: 46px;
   border-width: 0 0 1px;
   border-style: solid;
@@ -14,6 +13,8 @@ headerbar {
   background-image: $_header_bar_gradient;
 
   > windowhandle > box {
+    padding: 0 6px;
+
     &,
     > box.start,
     > box.end {
@@ -44,8 +45,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]