Skip to content

Commit

Permalink
report: fix flicker in normal case report (#9955)
Browse files Browse the repository at this point in the history
  • Loading branch information
yeonjuan authored and connorjclark committed Nov 20, 2019
1 parent c53d3d7 commit e402c91
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lighthouse-core/report/html/templates.html
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
--plugin-icon-size: 75%;
--gauge-wrapper-width: 60px;
--gauge-percentage-font-size: 13px;
position: sticky;
position: fixed;
left: 0;
right: 0;
top: var(--topbar-height);
Expand All @@ -185,6 +185,11 @@
pointer-events: none;
}

.lh-devtools .lh-sticky-header {
/* The report within DevTools is placed in a container with overflow, which changes the placement of this header unless we change `position` to `sticky.` */
position: sticky;
}

.lh-sticky-header--visible {
display: grid;
grid-auto-flow: column;
Expand Down

0 comments on commit e402c91

Please sign in to comment.