Repository navigation
fix(ui): keep the run list score inside its column - #36
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Approval required for deploying to Cloudflare Workers (Preview) for docs.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
On the experiment page, the score in the attempts list overlapped the case bar. The score column was a fixed
8rem(128px). A typical headline such as100.0% Correct and naturalneeds about 160px. The grid item kept the defaultmin-width: auto, so it overflowed 32px to the left instead of truncating its label.Fix:
minmax(8rem,12rem). On wide screens it grows to 12rem and fits the headline. On narrower rows it shrinks back to the old 8rem, so a row that is already tight does not get wider.HeadlineScorein the row getsmin-w-0 max-w-full, so a longer label truncates inside the column and does not spill over the bar.How tested
I ran
vitedev against a runningvieval viewerand checked with agent-browser:pnpm exec eslinton the changed file andpnpm -F @vieval/ui typecheckpass.馃 Generated with Claude Code