Prevent thread watcher menu from being cut off, by taking top controls out of scrolled region. #418

This commit is contained in:
ccd0 2015-06-30 01:22:19 -07:00
parent 4b12fac599
commit 8d603bbfb0

View File

@ -798,11 +798,13 @@ span.hide-announcement {
#thread-watcher { #thread-watcher {
padding-bottom: 3px; padding-bottom: 3px;
padding-left: 3px; padding-left: 3px;
overflow: hidden;
white-space: nowrap; white-space: nowrap;
min-width: 146px; min-width: 146px;
max-height: 92%; }
#watched-threads {
overflow-x: hidden;
overflow-y: auto; overflow-y: auto;
max-height: calc(100vh - 75px);
} }
#thread-watcher .refresh { #thread-watcher .refresh {
padding: 0px 3px; padding: 0px 3px;
@ -810,7 +812,7 @@ span.hide-announcement {
:root.fixed-watcher #thread-watcher { :root.fixed-watcher #thread-watcher {
position: fixed; position: fixed;
} }
:root:not(.fixed-watcher) #thread-watcher:not(:hover) { :root:not(.fixed-watcher) #watched-threads:not(:hover) {
max-height: 210px; max-height: 210px;
overflow-y: hidden; overflow-y: hidden;
} }