Skip to content

Remove dead flex-shrink: 0 from .intro-terminal - #42

Open
claude[bot] wants to merge 1 commit into
masterfrom
fix/issue-41-remove-flex-shrink
Open

Remove dead flex-shrink: 0 from .intro-terminal#42
claude[bot] wants to merge 1 commit into
masterfrom
fix/issue-41-remove-flex-shrink

Conversation

@claude

@claude claude Bot commented Jun 16, 2026

Copy link
Copy Markdown

Fixes #41

What changed

Removed the flex-shrink: 0 declaration from .intro-terminal in demo/index.html.

Why

The .intro parent uses display: grid, not display: flex. The flex-shrink property only applies to flex items — on a grid child it is a no-op. Removing it eliminates dead CSS that could confuse future readers.

No visual change

This rule was already having no effect, so the page renders identically before and after.

How to verify

Open demo/index.html and confirm the intro section layout is unchanged. Inspect .intro-terminal in DevTools — flex-shrink no longer appears in computed styles.

…tainer)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

Remove dead flex-shrink property on .intro-terminal (parent uses grid, not flexbox)

0 participants