only add padding when not in replies

This commit is contained in:
James Campos 2010-12-19 23:39:48 -08:00
parent 8aed824298
commit e9b5c3ff97
2 changed files with 2 additions and 2 deletions

View File

@ -968,7 +968,7 @@ GM_addStyle "
cursor: pointer;
}
#{
if getConfig 'Thread Navigation'
if g.REPLY and getConfig 'Thread Navigation'
"body {
padding-bottom: #{document.body.clientHeight}px;
}"

View File

@ -1182,7 +1182,7 @@
GM_setValue("hiddenReplies/" + g.BOARD + "/", JSON.stringify(g.hiddenReplies));
GM_setValue('lastChecked', now);
}
GM_addStyle(" #watcher { position: absolute; } #watcher > div.move { text-decoration: underline; padding: 5px 5px 0 5px; } #watcher > div:last-child { padding: 0 5px 5px 5px; } span.error { color: red; } #qr.auto:not(:hover) form { visibility: collapse; } #qr span.error { position: absolute; bottom: 0; left: 0; } #qr { position: fixed; } #qr > div { text-align: right; } #qr > form > div, /* ad */ #qr td.rules { display: none; } #options { position: fixed; padding: 5px; text-align: right; } form[name=delform] a img { border: 0px; float: left; margin: 0px 20px; } span.navlinks { position: absolute; right: 5px; } span.navlinks > a { font-size: 16px; text-decoration: none; } .hide { display: none; } .pointer { cursor: pointer; } " + (getConfig('Thread Navigation') ? "body { padding-bottom: " + document.body.clientHeight + "px; }" : '') + "");
GM_addStyle(" #watcher { position: absolute; } #watcher > div.move { text-decoration: underline; padding: 5px 5px 0 5px; } #watcher > div:last-child { padding: 0 5px 5px 5px; } span.error { color: red; } #qr.auto:not(:hover) form { visibility: collapse; } #qr span.error { position: absolute; bottom: 0; left: 0; } #qr { position: fixed; } #qr > div { text-align: right; } #qr > form > div, /* ad */ #qr td.rules { display: none; } #options { position: fixed; padding: 5px; text-align: right; } form[name=delform] a img { border: 0px; float: left; margin: 0px 20px; } span.navlinks { position: absolute; right: 5px; } span.navlinks > a { font-size: 16px; text-decoration: none; } .hide { display: none; } .pointer { cursor: pointer; } " + (g.REPLY && getConfig('Thread Navigation') ? "body { padding-bottom: " + document.body.clientHeight + "px; }" : '') + "");
if (navtopr = $('#navtopr a')) {
text = navtopr.nextSibling;
a = n('a', {