Repository navigation
fix: show the admin terms and reserve buttons inside their cards - #30
Merged
epoberezkin merged 1 commit intoNov 26, 2026
Merged
epoberezkin merged 1 commit into
epoberezkin merged 1 commit into
Conversation
epoberezkin
approved these changes
Nov 26, 2026
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.
On /admin at 1280 px, four controls are drawn past the right border of their cards (border at x = 1024 px):
At 390 px, the same controls end at 483–582 px, past the right edge of the screen, and the page scrolls sideways (document width 582 px).
Cause
Inputin aRow, a flex row without wrapping (admin.tsx L147-L153):Change (diff without whitespace)
src/pages/admin.tsx: theRowaround the terms link input and its button, and theRowaround the reserve input, Reason and Reserve, are removed. These controls are stacked in the card's column at full width, as in "Register Reserved Name".Evidence
Production builds of the base 596bc1c and the head 6b8abc8 on anvil 1.5.1 with the chain state of the visual tests (
ab/e2e-visualat cda6a1b), Chromium of Playwright 1.50.1, owner account #0 connected.admin.test.tsxclicks both terms buttons by test ID on the base too.Alternative:

min-width: 0on a wrapper of each input keeps the controls beside the input. It cuts the visible descriptions to "The raw link of one file at a full commit hash on…" and "Newline or comma separate…" at 1280 px, and leaves the reserve input 49 px wide at 390 px.Left as they are (on the base too):
#sha256=suffix of the link. Thorin cuts every input description to one line.Visual tests: once this and the visual tests are both merged,
reserved.png,general-terms.pngandcommunity-names.pngofaccount.spec.tsneed new baselines.