Skip to content

Commit

Permalink
dashboard: add contain: strict on the frequently-updated stats elem…
Browse files Browse the repository at this point in the history
…ents

This might increase performance.
  • Loading branch information
ivan committed Jun 9, 2023
1 parent 4bea178 commit c2fab74
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dashboard/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@
cursor: default;
}

.stats-elements {
contain: strict;
}

.stats-elements:hover {
cursor: pointer;
background-color: rgb(255 255 255 / 40%);
Expand Down

0 comments on commit c2fab74

Please sign in to comment.