Skip to content

Commit

Permalink
Revert "dashboard: remove content-visibility CSS to fix log windows…
Browse files Browse the repository at this point in the history
… not being scrolled to the bottom after expanding them in Chrome"

This reverts commit c99d488.

This regressed performance in Chrome when having all the log windows expanded
and looking at the top of the page: memory footprint went from 214MB -> 442MB
and CPU time went from 1m18s to 1m52s.
  • Loading branch information
ivan committed Jul 17, 2023
1 parent c99d488 commit 7ad41d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dashboard/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -227,10 +227,12 @@
box-shadow: 4px 4px 17px 0px #0000001c;
overscroll-behavior: contain;
contain: strict;
content-visibility: auto;
}

.log-window-hidden {
display: none;
content-visibility: hidden;
}

.log-window-stopped {
Expand Down

0 comments on commit 7ad41d8

Please sign in to comment.