Skip to content

Commit

Permalink
dashboard: use content-visibility to try to avoid rendering updates…
Browse files Browse the repository at this point in the history
… outside the viewport
  • Loading branch information
ivan committed Jun 9, 2023
1 parent bf94278 commit 1c9ed0e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dashboard/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@

.stats-elements {
contain: strict;
content-visibility: auto;
}

.stats-elements:hover {
Expand Down Expand Up @@ -226,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 1c9ed0e

Please sign in to comment.