Files
ozone-tech_owl_prime/.cursor/rules/responsive-product-demo.mdc
2026-07-04 12:14:08 +02:00

29 lines
961 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
description: Responsive breakpoints and layout rules for product demo
alwaysApply: true
---
# Responsive Product Demo Rules
Breakpoints:
- desktop: >= 1200px
- laptop/tablet landscape: 900–1199px
- tablet: 640–899px
- mobile: < 640px
Требования:
- body/html/#root не должны создавать horizontal scroll.
- Проверять overflow-x.
- Все секции используют width: min(100%, ...), max-width, padding через clamp().
- На mobile:
- одна колонка;
- крупные кнопки;
- короткие тексты;
- инженерные детали свернуты;
- сцена масштабируется;
- сценарии идут карточками.
- На desktop:
- Hero + demo в понятных секциях;
- 2 колонки только там, где хватает ширины;
- без внутреннего хаотичного скролла.