1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-05 11:37:01 +02:00

Helps #996 and simplifies platform code

This commit is contained in:
Chris 2015-03-17 18:55:19 -06:00
parent 38924fef22
commit 774e30aec6
2 changed files with 3 additions and 1 deletions

View File

@ -39,7 +39,6 @@ var onLoaded = function() {
body.style.setProperty("width", "100%");
panes.style.setProperty("width", "100%");
panes.style.setProperty("text-align", "right");
dfPane.style.setProperty("display", "inline-block", "important");
var updateSize = function() {

View File

@ -50,6 +50,9 @@ body[dir="ltr"] #panes {
body[dir="rtl"] #panes {
direction: ltr;
}
body, #panes {
text-align: right; /* this helps the popup render better at "intermediate" widths */
}
#panes > div {
display: inline-block;
position: relative;