[gnome-software/gnome-3-26] Fix a listbox header styling issue in RTL languages



commit 30a666462185cc935c256350caff4275dad017d5
Author: Kalev Lember <klember redhat com>
Date:   Sat Oct 28 11:56:13 2017 +0200

    Fix a listbox header styling issue in RTL languages
    
    Thanks to lapo for coming up with the fix!

 src/gtk-style.css |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/gtk-style.css b/src/gtk-style.css
index cc3565d..1373961 100644
--- a/src/gtk-style.css
+++ b/src/gtk-style.css
@@ -326,11 +326,15 @@
 }
 
 .app-listbox-header {
-       padding: 6px 6px 6px 10px;
+       padding: 6px;
        background-image: none;
        border-bottom: 1px solid @theme_bg_color;
 }
 
+.app-listbox-header:dir(ltr) { padding-left: 10px; }
+
+.app-listbox-header:dir(rtl) { padding-right: 10px; }
+
 .app-updates-section {
        border-radius: 4px;
        border: 1px solid darker(@theme_bg_color);


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