Add sticky positioning on thread board-display
This commit is contained in:
parent
ed0c17a14f
commit
daa01795b1
12
style.css
12
style.css
|
@ -1029,6 +1029,10 @@ body.forum table.board-display tr th:nth-of-type(2) {
|
|||
text-align: left;
|
||||
}
|
||||
|
||||
body.forum.thread table.board-display {
|
||||
position: sticky;
|
||||
}
|
||||
|
||||
body.forum.thread table.post-display {
|
||||
background: var(--post);
|
||||
border: var(--post-border);
|
||||
|
@ -1109,12 +1113,20 @@ body.forum.thread table.reply-display tr.title-row th:nth-of-type(2) button {
|
|||
}
|
||||
|
||||
@media only screen and (orientation: landscape) {
|
||||
body.forum.thread table.board-display {
|
||||
top: -24px;
|
||||
}
|
||||
|
||||
body.forum.thread table.post-display tr.author-row {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (orientation: portrait) {
|
||||
body.forum.thread table.board-display {
|
||||
top: 40px;
|
||||
}
|
||||
|
||||
body.forum.thread table.post-display td.author-cell {
|
||||
display: none;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user