mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-16 05:41:16 +01:00
c46efde896964255de1f690b1e1639e9e4a35a0e
Add extensive CSS media queries and overflow handling for proper mobile device display of generated documentation. Overflow Prevention: - Set `overflow-x: hidden` on body and main-content - Add `word-break: break-word` and `overflow-wrap: anywhere` to property names - Enable horizontal scrolling inside pre blocks and enum values - Ensure code elements break properly on narrow screens Mobile Layout Adjustments (148 lines): - Reduce padding throughout (main-content, definition, description, usages) - Smaller font sizes for headers, titles, and definition names - Adjust modal sizing: full width, 90vh max height, reduced padding - Compact nested schema containers (properties, array-items, variants) Search Results Mobile: - Flex-wrap enabled for search result items - Result path takes full width with word breaking - Reorder elements with CSS order property Typography Scaling: - Header h1: 1.25rem - Schema section h2: 1.25rem - Definition names: 1.1rem with word-break - Modal title: 1rem Component Spacing: - Reduced gap in property-header - Smaller margins on type badges and refs - Compact constraints display (flex-direction: column) - Reduced padding on nested-schema summaries