Skip to content

Index: tidy the mobile layout - #200

Merged
bendichter merged 1 commit into
masterfrom
mobile-notebook-rows
Aug 21, 2026
Merged

Index: tidy the mobile layout#200
bendichter merged 1 commit into
masterfrom
mobile-notebook-rows

Conversation

@bendichter

Copy link
Copy Markdown
Member

Mobile pass on notebooks.dandiarchive.org, focused on the notebook listings. Below 900px: each filename takes its own line with the Colab, docker, and help badges grouped together beneath it; the notebook card and row spacing relax; the full table of contents hides (it pushed the content a screen or more down on a phone; the search box remains as navigation); the stats band becomes a 2x2 grid; and descriptions and filenames use overflow-wrap: anywhere, which fixes a horizontal scrollbar caused by an unbreakable URL in one dandiset description. Filenames also drop word-break: break-all in favor of overflow-wrap: anywhere at all widths, so they break only when needed.

Checked in a 390px emulated viewport: zero horizontal overflow, and the listings render as intended. The PR preview shows the result; it is best viewed by narrowing the browser window.

🤖 Generated with Claude Code

On phone-width viewports the notebook card kept desktop padding,
filenames broke mid-word, badges wrapped tightly under them, the full
table of contents pushed content a screen down, the stats row wrapped
unevenly, and a long URL in one description forced horizontal scrolling.
Below 900px: the filename takes its own line with the badges grouped on
the next, the card and row spacing relax, the contents list hides
(search remains as the navigation), the stats form a 2x2 grid, and
descriptions and filenames use overflow-wrap: anywhere so nothing
exceeds the viewport. Checked at 390px in an emulated viewport: zero
horizontal overflow.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
github-actions Bot added a commit that referenced this pull request Aug 21, 2026
@github-actions

github-actions Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Preview for this PR has been removed (PR closed).

@bendichter
bendichter merged commit 8487f23 into master Aug 21, 2026
3 checks passed
github-actions Bot added a commit that referenced this pull request Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant