Non-fixed thread watcher doesn't need scroll bars when it becomes longer than the page.

This commit is contained in:
ccd0 2015-07-03 13:50:39 -07:00
parent e151a73a02
commit 7fc8063894

View File

@ -807,7 +807,6 @@ span.hide-announcement {
#watched-threads {
overflow-x: hidden;
overflow-y: auto;
max-height: calc(100vh - 75px);
}
#thread-watcher .refresh {
padding: 0px 3px;
@ -815,6 +814,9 @@ span.hide-announcement {
:root.fixed-watcher #thread-watcher {
position: fixed;
}
:root.fixed-watcher #watched-threads {
max-height: calc(100vh - 75px);
}
:root:not(.fixed-watcher) #watched-threads:not(:hover) {
max-height: 210px;
overflow-y: hidden;