[console/wip/exalm/gtk4: 5/6] style: Add padding for the terminal




commit 19446201ed3b1327ba9d8c884f43c9b549c7d484
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Mon Jul 25 16:44:30 2022 +0400

    style: Add padding for the terminal
    
    Avoid clipping contents with window corners.
    
    Since we can't add vertical padding as it would be cut off when scrolling,
    only add horizontal one.

 src/styles/_styles.scss | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/src/styles/_styles.scss b/src/styles/_styles.scss
index c4e0db1..834aa45 100644
--- a/src/styles/_styles.scss
+++ b/src/styles/_styles.scss
@@ -38,6 +38,11 @@
       @include colored_header(#{'shade(@purple_1, 1.27)'}, #{'shade(@purple_1, 1.35)'});
     }
   }
+
+  vte-terminal {
+    padding-left: 6px;
+    padding-right: 6px;
+  }
 }
 
 // Taken from nautilus


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