mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
code review: fix rtl rendering of 3rd-party filters pane
This commit is contained in:
parent
1a075bc673
commit
0e11d6e95e
3 changed files with 14 additions and 14 deletions
|
@ -43,15 +43,15 @@
|
|||
</li>
|
||||
<li class="listEntry">
|
||||
<input type="checkbox"><!--
|
||||
--><a class="content" type="text/plain" target="_blank" href=""></a><!--
|
||||
--><a class="fa support" href="" target="_blank"></a><!--
|
||||
--><a class="fa remove" href=""></a><!--
|
||||
--><a class="fa mustread" href="" target="_blank"></a><!--
|
||||
--><span class="fa status unsecure" title="http"></span><!--
|
||||
--><span class="counts dim"></span><!--
|
||||
--><span class="fa status obsolete" title="3pExternalListObsolete"></span><!--
|
||||
--><span class="fa status cache"></span><!--
|
||||
--><span class="fa status updating"></span><!--
|
||||
--><a class="content" type="text/plain" target="_blank" href=""></a>​<!--
|
||||
--><a class="fa support" href="" target="_blank"></a>​<!--
|
||||
--><a class="fa remove" href=""></a>​<!--
|
||||
--><a class="fa mustread" href="" target="_blank"></a>​<!--
|
||||
--><span class="fa status unsecure" title="http"></span>​<!--
|
||||
--><span class="counts dim"></span>​<!--
|
||||
--><span class="fa status obsolete" title="3pExternalListObsolete"></span>​<!--
|
||||
--><span class="fa status cache"></span>​<!--
|
||||
--><span class="fa status updating"></span>​<!--
|
||||
--><span class="fa status failed"></span>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
@ -23,7 +23,7 @@ body.hideUnused #listsOfBlockedHostsPrompt:before {
|
|||
padding-left: 0.5em;
|
||||
padding-right: 0em;
|
||||
}
|
||||
body[dir=rtl] #lists {
|
||||
body[dir="rtl"] #lists {
|
||||
padding-left: 0em;
|
||||
padding-right: 0.5em;
|
||||
}
|
||||
|
@ -57,12 +57,12 @@ li.listEntry {
|
|||
line-height: 150%;
|
||||
margin: 0 auto 0 auto;
|
||||
margin-left: 2.5em;
|
||||
margin-right: 0em;
|
||||
margin-right: 0;
|
||||
text-indent: -2em;
|
||||
}
|
||||
body[dir=rtl] li.listEntry {
|
||||
body[dir="rtl"] li.listEntry {
|
||||
margin-left: 0em;
|
||||
margin-right: 1em;
|
||||
margin-right: 2.5em;
|
||||
}
|
||||
li.listEntry > * {
|
||||
margin-right: 0.5em;
|
||||
|
|
|
@ -91,7 +91,7 @@ var renderFilterLists = function(soft) {
|
|||
elem = li.querySelector('a:nth-of-type(1)');
|
||||
elem.setAttribute('href', 'asset-viewer.html?url=' + encodeURI(listKey));
|
||||
elem.setAttribute('type', 'text/html');
|
||||
elem.textContent = listNameFromListKey(listKey) + '\u200E';
|
||||
elem.textContent = listNameFromListKey(listKey);
|
||||
li.classList.remove('toRemove');
|
||||
if ( entry.supportName ) {
|
||||
li.classList.add('support');
|
||||
|
|
Loading…
Reference in a new issue