[gnome-text-editor] style: remove what doesn't work on Linux



commit a67f31d38193da17b1f9c46c43aad087c9e44d11
Author: Christian Hergert <chergert redhat com>
Date:   Mon Feb 28 13:36:23 2022 -0800

    style: remove what doesn't work on Linux
    
    This seems to be a rendering oddity between macOS with CoreText and Linux
    with FreeType.

 src/style.css | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/src/style.css b/src/style.css
index fe645f3..4476d5b 100644
--- a/src/style.css
+++ b/src/style.css
@@ -116,7 +116,11 @@ textview.GtkSourceMap {
   font-size: 1.75pt;
   line-height: 5px;
   opacity: 0.75;
-  margin: 1px 0 2px 0;
+  /* on macOS this would need to be 1 0 2 0 likely due to how
+   * CoreText is being used. It just looks off. Anyway, maybe
+   * someday when we have media-query we can fix that.
+   */
+  margin: 0;
 }
 textview.GtkSourceMap:dir(ltr) {
   border-left: 1px solid @borders;


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