Skip to content

The wiki's list of pages fits a narrow window - #46

Merged
Rafael-SOWNet merged 1 commit into
masterfrom
the-wiki-list-fits
Oct 25, 2026
Merged

Rafael-SOWNet merged 1 commit into
masterfrom
the-wiki-list-fits

Conversation

@Rafael-SOWNet

@Rafael-SOWNet Rafael-SOWNet commented Oct 25, 2026 •

Copy link
Copy Markdown
Member

The wiki's list of pages is indented by 10vh, a tenth of the window's height, inside a column that is indented already. In a window 320px wide and 800px tall, a desktop window at 400% zoom, that leaves each item 93px, so three page names run past the right edge of the window, where the body's overflow-x: hidden cuts them off:

at 320px right edge
Differentiation 27px past
Multithreading 27px past
Simplification 16px past

In the narrow layout (up to 1099px) the list drops its own indent. The rule sits after the .wiki-ul-main rule it overrides, because that rule comes later in the file than the narrow layout's block and would otherwise win.

Built locally and measured in headless Chromium: at 320px no name reaches past the window and none breaks across lines. From 1100px up nothing changes. Between 555 and 1099px the list sits 10vh further left.

This goes before #47, "long words wrap". Without it, that change would break these names mid-word instead.

🤖 Generated with Claude Code

https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura

The list is indented by 10vh, a tenth of the window's height, on top of the column's own indent. In a window 320px wide and 800px tall that left the list items 93px, so "Differentiation", "Multithreading" and "Simplification" ran 16-27px past the right edge of the window, where the body's overflow-x: hidden cuts them off. In the narrow layout the column is indented already, so the list drops its own indent there. The rule follows the one it overrides, which comes later in the file than the narrow layout's block and would otherwise win.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
@Rafael-SOWNet Rafael-SOWNet moved this from Todo to In review in AngouriMath Oct 25, 2026
@Rafael-SOWNet
Rafael-SOWNet merged commit db9b3ab into master Oct 25, 2026
3 checks passed
@github-project-automation github-project-automation Bot moved this from In review to Done in AngouriMath Oct 25, 2026
@Rafael-SOWNet
Rafael-SOWNet deleted the the-wiki-list-fits branch October 25, 2026 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant