[polari] ui: Fix sidebar borders in RTL locales
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari] ui: Fix sidebar borders in RTL locales
- Date: Fri, 6 Sep 2013 15:05:32 +0000 (UTC)
commit 44795162e3726c664f0f09017ee730c19530bdfe
Author: Florian Müllner <fmuellner gnome org>
Date: Fri Sep 6 16:41:34 2013 +0200
ui: Fix sidebar borders in RTL locales
We only use a single border on either the left or the right for
sidebars, those need swapping in RTL locales.
data/resources/application.css | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/data/resources/application.css b/data/resources/application.css
index fededdb..a3b3e4f 100644
--- a/data/resources/application.css
+++ b/data/resources/application.css
@@ -10,11 +10,13 @@
border-image: none;
}
-.polari-sidebar.polari-room-list {
+.polari-sidebar.polari-room-list:dir(ltr),
+.polari-sidebar.polari-user-list:dir(rtl) {
border-width: 0 1px 0 0;
}
-.polari-sidebar.polari-user-list {
+.polari-sidebar.polari-user-list:dir(ltr),
+.polari-sidebar.polari-room-list:dir(rtl) {
border-width: 0 0 1px 1px;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]