From c22867c2790fd4b2c70fef5ccc250cfc601f3077 Mon Sep 17 00:00:00 2001 From: Nick Doiron Date: Sun, 2 Oct 2016 19:45:45 -0400 Subject: [PATCH] search results and layer names --- css/app.css | 10 ++++++++++ modules/ui/background.js | 3 ++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/css/app.css b/css/app.css index 5b35b582c..ac0a93847 100644 --- a/css/app.css +++ b/css/app.css @@ -3399,6 +3399,16 @@ img.tile-removing { border-radius: 3px 0 0 3px; } +/* search */ +[dir='rtl'] .feature-list-item .label { + text-align: right; +} + +[dir='rtl'] .feature-list-item .entity-name { + padding-left: 0; + padding-right: 10px; +} + /* preset form */ [dir='rtl'] .form-label { padding: 5px 10px 5px 0; diff --git a/modules/ui/background.js b/modules/ui/background.js index 35a49f30b..feb8db766 100644 --- a/modules/ui/background.js +++ b/modules/ui/background.js @@ -378,7 +378,8 @@ export function uiBackground(context) { /* background switcher */ var backgroundList = content.append('ul') - .attr('class', 'layer-list'); + .attr('class', 'layer-list') + .attr('dir', 'auto'); var custom = backgroundList.append('li') .attr('class', 'custom_layer')