[gnome-software] Fix a listbox header styling issue in RTL languages
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Fix a listbox header styling issue in RTL languages
- Date: Sat, 28 Oct 2017 12:24:28 +0000 (UTC)
commit 9bf0b7af55339ddb8b148fb65ce4c29481100d96
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 e0d4cc7..f6ddfaa 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]