LGUG2Z c46efde896 feat(css): add comprehensive mobile responsive styles
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
2025-12-22 09:31:29 -08:00
S
Description
No description provided
47 MiB
0 Stars 1 Watchers 0 Forks
Latest
2026-02-14 21:52:25 +01:00
Languages
Rust 98.2%
Python 0.6%
AutoHotkey 0.5%
Nix 0.5%
Just 0.2%