Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions docs/src/Style.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,27 @@ style.menu = {
// prevents a white background when items are filtered out by search
background: '#1B1C1D',
overflowX: 'hidden',

// --- START OF READABILITY FIX ---
// Targets the medium screen width (~910px) identified in the issue
'@media only screen and (min-width: 768px) and (max-width: 910px)': {
'& .ui.vertical.menu .item': {
fontSize: '14px !important', // Increased from 12px for legibility
lineHeight: '1.6 !important', // Added breathing room between lines
paddingTop: '0.9em !important', // Increased vertical hit area
paddingBottom: '0.9em !important',
},
'& .ui.vertical.menu .header': {
fontSize: '1.1em !important', // Improved visual hierarchy for section titles
color: '#fff !important', // High contrast for headers
marginBottom: '0.5em !important',
},
'& .ui.vertical.menu .menu .item': {
color: 'rgba(255, 255, 255, 0.8) !important', // Increased text contrast (WCAG AA)
fontSize: '13px !important',
},
},
// --- END OF READABILITY FIX ---
}

style.sidebarMain = {
Expand Down