[console/wip/exalm/gtk4: 4/9] style: Add padding for the terminal




commit 0f3ad87283c5b322560551037e9fc083ab15f809
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]