Skip to content

fix(ourlogs): use dynamic back-to-top button offset#116976

Merged
JoshuaKGoldberg merged 3 commits into
masterfrom
logs-back-to-top-dynamic-offset
Jun 8, 2026
Merged

fix(ourlogs): use dynamic back-to-top button offset#116976
JoshuaKGoldberg merged 3 commits into
masterfrom
logs-back-to-top-dynamic-offset

Conversation

@JoshuaKGoldberg

@JoshuaKGoldberg JoshuaKGoldberg commented Jun 5, 2026

Copy link
Copy Markdown
Member

Switches the LogsInfiniteTable's "back to top" button's vertical offset from a hardcoded 65px to a dynamic measurement of the table's <tbody>.

I tried extracting shared helpers to do this, since the logic got kind of nitty gritty... but ended up really only reusing getOffsetRect. Ah well. 🤷

Before After
image image

Closes LOGS-837.

@linear-code

linear-code Bot commented Jun 5, 2026

Copy link
Copy Markdown

LOGS-837

@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jun 5, 2026
@JoshuaKGoldberg JoshuaKGoldberg marked this pull request as ready for review June 5, 2026 17:06
@JoshuaKGoldberg JoshuaKGoldberg requested review from a team as code owners June 5, 2026 17:06
@JoshuaKGoldberg JoshuaKGoldberg merged commit 20bd1d2 into master Jun 8, 2026
73 checks passed
@JoshuaKGoldberg JoshuaKGoldberg deleted the logs-back-to-top-dynamic-offset branch June 8, 2026 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants