With logs up to ~25 000 entries, eagerly painting every grid cell caused multi-second freezes on page load. Add content-visibility: auto to the line-number and content cells so the browser defers their layout / paint until they scroll into view. The rule lives on the cells (not on .entry itself) because .entry uses display: contents and produces no box of its own. contain-intrinsic-size: auto 1.5em lets the browser remember measured heights after first paint and uses ~one line tall as the initial placeholder for never-seen cells. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
44 KiB
44 KiB