-
[OPIK-3805] [DOCS] Add Cursor rules for responsive design (#4710)
发布于
2026-01-13 13:27:24 +00:00 - [OPIK-3805] [DOCS] Add Cursor rules for responsive design
Add guidelines on when to use Tailwind CSS breakpoints vs useIsPhone hook
for responsive design, helping developers choose the right approach and
avoid unnecessary JavaScript evaluation when CSS would suffice.- Add new responsive-design.mdc with decision framework and examples
- Update frontend_rules.mdc to reference the new rule
- Update AGENTS.md to include responsive-design.mdc in frontend rules list
-
Revision 2: Clarify that phone support is only when explicitly requested in Jira ticket
-
Revision 3: Add onboarding as exception requiring mobile support by default
下载附件