Skip to content

Commit c2d6a7a

Browse files
Rename screenshot viewer to "Resolution Review"; fix undefined dimensions in resolution grouping (#5)
* Initial plan * fix: rename to Resolution Review, remove subtitle, fix undefined x undefined in resolution grouping Co-authored-by: mathematicalmichael <40366263+mathematicalmichael@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: mathematicalmichael <40366263+mathematicalmichael@users.noreply.github.com>
1 parent 67b3ffb commit c2d6a7a

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

scripts/generate-screenshot-view.mjs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,6 @@ function buildHtml(data) {
204204
line-height: 1.2;
205205
}
206206
207-
.subtitle,
208207
.stats {
209208
color: var(--muted);
210209
font-size: 14px;
@@ -378,8 +377,7 @@ function buildHtml(data) {
378377
<div class="page">
379378
<section class="toolbar">
380379
<div class="title">
381-
<h1>Local Screenshot Viewer</h1>
382-
<div class="subtitle">Open this file directly in a browser or serve the repo locally.</div>
380+
<h1>Resolution Review</h1>
383381
<div class="stats" id="stats"></div>
384382
</div>
385383
<div class="controls" aria-label="Group screenshots">
@@ -440,7 +438,7 @@ function buildHtml(data) {
440438
const headerCells = columns.map((column) => {
441439
const detail = state.groupBy === 'slide'
442440
? column.width + ' x ' + column.height
443-
: column.width + ' x ' + column.height;
441+
: column.key;
444442
return '<th class="header">' + getColumnTitle(column) + '<small>' + detail + '</small></th>';
445443
}).join('');
446444

0 commit comments

Comments
 (0)