Skip to content

Commit

Permalink
clients(devtools): fix collapsing-width svg in flexbox (#9602)
Browse files Browse the repository at this point in the history
  • Loading branch information
brendankenny authored and paulirish committed Nov 6, 2019
1 parent 9ef4854 commit 5bd5086
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lighthouse-core/report/html/report-styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,10 @@
.lh-devtools.lh-root {
height: 100%;
}
.lh-devtools.lh-root img {
/* Override devtools default 'min-width: 0' so svg without size in a flexbox isn't collapsed. */
min-width: auto;
}
.lh-devtools .lh-container {
overflow-y: scroll;
height: calc(100% - var(--topbar-height));
Expand Down

0 comments on commit 5bd5086

Please sign in to comment.