Skip to content

Commit 0b4139c

Browse files
committed
update Page
1 parent 28bf96d commit 0b4139c

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

index.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@
598598
gap: 0;
599599
height: 100%;
600600
}
601-
.ga-section { display: flex; flex-direction: column; min-width: 0; }
601+
.ga-section { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
602602
.ga-section.cum { padding-left: 22px; border-left: 1px solid var(--hairline); }
603603
.ga-section.live { padding-right: 22px; }
604604
.ga-section-head {
@@ -702,8 +702,11 @@
702702
border-bottom: var(--ga-row-border) dashed var(--hairline);
703703
}
704704
.ga-path-row:last-child { border-bottom: none; }
705-
/* Cap the top-pages scroll area to 5 rows; anything beyond scrolls. */
706-
.ga-paths-list { max-height: calc(5 * var(--ga-row-h)); }
705+
/* Cap the top-pages scroll area to 5 rows; anything beyond scrolls.
706+
+4px safety margin avoids the last row being cut by sub-pixel rounding
707+
(iOS Safari was occasionally clipping ~1px off, making the 5th row
708+
look broken even when no real overflow existed). */
709+
.ga-paths-list { max-height: calc(5 * var(--ga-row-h) + 4px); }
707710
.ga-path-name {
708711
font-family: 'Source Serif 4', serif;
709712
color: var(--ink);

0 commit comments

Comments
 (0)