That one f*cking pixel
This commit is contained in:
parent
77433f5da8
commit
b7c2a9225d
@ -11038,10 +11038,10 @@
|
|||||||
}
|
}
|
||||||
css += "}\nbody {\n padding-bottom: 0;\n";
|
css += "}\nbody {\n padding-bottom: 0;\n";
|
||||||
if ((Style.padding.pages != null) && ["sticky top", "top", "sticky bottom"].contains(_conf["Pagination"])) {
|
if ((Style.padding.pages != null) && ["sticky top", "top", "sticky bottom"].contains(_conf["Pagination"])) {
|
||||||
css += " padding-" + Style.padding.pages.property + ": " + Style.padding.pages.offsetHeight + "px;\n";
|
css += " padding-" + Style.padding.pages.property + ": " + (Style.padding.pages.offsetHeight + 1) + "px;\n";
|
||||||
}
|
}
|
||||||
if (!(_conf['Header auto-hide'] || _conf['Hide Header'])) {
|
if (!(_conf['Header auto-hide'] || _conf['Hide Header'])) {
|
||||||
css += " padding-" + Style.padding.nav.property + ": " + Style.padding.nav.offsetHeight + "px;\n";
|
css += " padding-" + Style.padding.nav.property + ": " + (Style.padding.nav.offsetHeight + 1) + "px;\n";
|
||||||
}
|
}
|
||||||
css += "}";
|
css += "}";
|
||||||
return sheet.textContent = css;
|
return sheet.textContent = css;
|
||||||
|
|||||||
@ -11059,10 +11059,10 @@
|
|||||||
}
|
}
|
||||||
css += "}\nbody {\n padding-bottom: 0;\n";
|
css += "}\nbody {\n padding-bottom: 0;\n";
|
||||||
if ((Style.padding.pages != null) && ["sticky top", "top", "sticky bottom"].contains(_conf["Pagination"])) {
|
if ((Style.padding.pages != null) && ["sticky top", "top", "sticky bottom"].contains(_conf["Pagination"])) {
|
||||||
css += " padding-" + Style.padding.pages.property + ": " + Style.padding.pages.offsetHeight + "px;\n";
|
css += " padding-" + Style.padding.pages.property + ": " + (Style.padding.pages.offsetHeight + 1) + "px;\n";
|
||||||
}
|
}
|
||||||
if (!(_conf['Header auto-hide'] || _conf['Hide Header'])) {
|
if (!(_conf['Header auto-hide'] || _conf['Hide Header'])) {
|
||||||
css += " padding-" + Style.padding.nav.property + ": " + Style.padding.nav.offsetHeight + "px;\n";
|
css += " padding-" + Style.padding.nav.property + ": " + (Style.padding.nav.offsetHeight + 1) + "px;\n";
|
||||||
}
|
}
|
||||||
css += "}";
|
css += "}";
|
||||||
return sheet.textContent = css;
|
return sheet.textContent = css;
|
||||||
|
|||||||
BIN
builds/crx.crx
BIN
builds/crx.crx
Binary file not shown.
@ -11042,10 +11042,10 @@
|
|||||||
}
|
}
|
||||||
css += "}\nbody {\n padding-bottom: 0;\n";
|
css += "}\nbody {\n padding-bottom: 0;\n";
|
||||||
if ((Style.padding.pages != null) && ["sticky top", "top", "sticky bottom"].contains(_conf["Pagination"])) {
|
if ((Style.padding.pages != null) && ["sticky top", "top", "sticky bottom"].contains(_conf["Pagination"])) {
|
||||||
css += " padding-" + Style.padding.pages.property + ": " + Style.padding.pages.offsetHeight + "px;\n";
|
css += " padding-" + Style.padding.pages.property + ": " + (Style.padding.pages.offsetHeight + 1) + "px;\n";
|
||||||
}
|
}
|
||||||
if (!(_conf['Header auto-hide'] || _conf['Hide Header'])) {
|
if (!(_conf['Header auto-hide'] || _conf['Hide Header'])) {
|
||||||
css += " padding-" + Style.padding.nav.property + ": " + Style.padding.nav.offsetHeight + "px;\n";
|
css += " padding-" + Style.padding.nav.property + ": " + (Style.padding.nav.offsetHeight + 1) + "px;\n";
|
||||||
}
|
}
|
||||||
css += "}";
|
css += "}";
|
||||||
return sheet.textContent = css;
|
return sheet.textContent = css;
|
||||||
|
|||||||
@ -321,10 +321,10 @@ body {
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
if Style.padding.pages? and ["sticky top", "top", "sticky bottom"].contains _conf["Pagination"]
|
if Style.padding.pages? and ["sticky top", "top", "sticky bottom"].contains _conf["Pagination"]
|
||||||
css += " padding-#{Style.padding.pages.property}: #{Style.padding.pages.offsetHeight}px;\n"
|
css += " padding-#{Style.padding.pages.property}: #{Style.padding.pages.offsetHeight + 1}px;\n"
|
||||||
|
|
||||||
unless _conf['Header auto-hide'] or _conf['Hide Header']
|
unless _conf['Header auto-hide'] or _conf['Hide Header']
|
||||||
css += " padding-#{Style.padding.nav.property}: #{Style.padding.nav.offsetHeight}px;\n"
|
css += " padding-#{Style.padding.nav.property}: #{Style.padding.nav.offsetHeight + 1}px;\n"
|
||||||
|
|
||||||
css += "}"
|
css += "}"
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user