1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-04 16:47:15 +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%"); body.style.setProperty("width", "100%");
panes.style.setProperty("width", "100%"); panes.style.setProperty("width", "100%");
panes.style.setProperty("text-align", "right");
dfPane.style.setProperty("display", "inline-block", "important"); dfPane.style.setProperty("display", "inline-block", "important");
var updateSize = function() { var updateSize = function() {

View File

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