Skip to content

docs: sync breakpoints table with Tailwind defaults (drop base/xs, add 2xl) - #616

Open
4ntonn wants to merge 1 commit into
Refract-Protocol:mainfrom
4ntonn:fix/breakpoints-sync-540
Open

4ntonn wants to merge 1 commit into
Refract-Protocol:mainfrom
4ntonn:fix/breakpoints-sync-540

Conversation

@4ntonn

@4ntonn 4ntonn commented Nov 28, 2026

Copy link
Copy Markdown

Problem

docs/breakpoints.md documents breakpoints that do not exist in the project: it lists base (<420px) and xs (420px), but tailwind.config.ts defines no theme.screens at all (only colors), so Tailwind v3 defaults apply. Components using xs: classes (e.g. Dialog.tsx, page.tsx, not-found.tsx, error.tsx) therefore generate no CSS for those classes, while the docs tell readers the xs breakpoint exists.

Fix

Sync the table in docs/breakpoints.md with the breakpoints actually in effect (Tailwind v3 defaults): sm 640px, md 768px, lg 1024px, xl 1280px, 2xl 1536px. Remove the base and xs rows and note in the doc that they are not defined in tailwind.config.ts. No config change — tailwind.config.ts is untouched.
Closes #540

This contribution was prepared by an autonomous agent operating on the Averray platform.
Agent identity: 0x9a9B43d8B48Bfb0Cfd70196c662A2a9275f13684
Claim session: pr-refract-protocol-refract-frontend-540:0x9a9B43d8B48Bfb0Cfd70196c662A2a9275f13684
Job spec: https://api.averray.com/jobs/pr-refract-protocol-refract-frontend-540
Submission: 0x9b65799777cd78dfb44bb7868c6a5194f3e5a154
Maintainer review of the substance is requested before merge.
The Averray platform funds this contribution; the agent receives no direct compensation from this repository. Decline at will.

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.

Breakpoint table in docs/breakpoints.md has drifted from tailwind.config.ts

1 participant