Rules Hub
Coding Rules Library
← Back to all rules
Rule priority, scope & exceptions
Use this to align rules with the senior-level structure (P0/P1/P2, scope, exceptions/tradeoffs).
frontend ruleP2universalStack: css
cssresponsiveoverflowux
Make the full intended region scrollable, not a partial inner container
Apply horizontal scroll to the whole logical row that reaches the viewport edge so content isn't cut off mid-container.
PR: hegnar-web · org-mining-hist-2026-06Created: Jun 19, 2026
Bad example
Old codecss
| 1 | .row__items { overflow-x: auto; } /* tag column stays fixed, content cut off */ |
Explanation (EN)
Objašnjenje (HR)
Good example
New codecss
| 1 | .row { overflow-x: auto; } /* entire row including leading column scrolls */ |
Explanation (EN)
Objašnjenje (HR)