Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions internal/viewer/web/dist/assets/index-BUvcEvK9.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion internal/viewer/web/dist/assets/index-oJgoOLVs.css

This file was deleted.

4 changes: 2 additions & 2 deletions internal/viewer/web/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>localperf viewer</title>
<script type="module" crossorigin src="/assets/index-CrcprNJt.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-oJgoOLVs.css">
<script type="module" crossorigin src="/assets/index-FSuUD3On.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-BUvcEvK9.css">
</head>
<body>
<div id="root"></div>
Expand Down
19 changes: 15 additions & 4 deletions internal/viewer/web/src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ p {

.tab-content {
padding: 10px;
max-width: 1440px;
margin-inline: auto;
}

.report-view,
Expand Down Expand Up @@ -224,6 +226,8 @@ p {
}

.warning {
width: fit-content;
max-width: 100%;
margin-bottom: 10px;
padding: 8px 10px;
border: 1px solid #dec777;
Expand Down Expand Up @@ -302,12 +306,19 @@ tbody tr:hover {
color: var(--muted);
}

/* Heat cells fill their whole table cell: the td contributes no padding, and
the colored trigger carries the text inset itself, so adjacent colored
cells are contiguous instead of floating with white gaps around them. */
td:has(.metric-trigger) {
padding: 0;
}

.metric-trigger {
all: unset;
display: inline-block;
min-width: 100%;
padding: 1px 3px;
border-radius: 4px;
display: block;
box-sizing: border-box;
width: 100%;
padding: 7px 8px;
cursor: help;
}

Expand Down
Loading