From d321967594dbc31ff49403e1fd3277d2c7558525 Mon Sep 17 00:00:00 2001 From: Dhaifallah Alwadani Date: Tue, 6 Jun 2017 02:10:03 +0300 Subject: [PATCH] fix RTL issues in tree view Display tree view correctly in RTL --- frappe/public/css/desk-rtl.css | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/frappe/public/css/desk-rtl.css b/frappe/public/css/desk-rtl.css index 05d6b78649..014e4bb3ab 100644 --- a/frappe/public/css/desk-rtl.css +++ b/frappe/public/css/desk-rtl.css @@ -56,4 +56,26 @@ .list-comment-count { text-align: right; } +ul.tree-children { + padding-right: 20px; + padding-left: inherit !important; +} +.balance-area { + float: left !important; +} +.tree.opened::before, .tree-node.opened::before, .tree:last-child::after, .tree-node:last-child::after { + left: inherit !important; + right: 8px; +} +.tree.opened > .tree-children > .tree-node > .tree-link::before, .tree-node.opened > .tree-children > .tree-node > .tree-link::before { + left: inherit !important; + right: -11px; +} +.tree:last-child::after, .tree-node:last-child::after { + right: -13px !important; +} +.tree.opened::before { + left: auto !important; + right: 23px; +}