Improve Request Breakdown UI with better contrast and text handling

Enhances the visual presentation and usability of the Request Breakdown page with improved typography and column constraints.

Changes:
- Update header colors (h2, h3) from #333 to white for better contrast against dark backgrounds
- Fix category column text wrapping with intelligent word breaking and proper line height
- Add table layout constraints to prevent horizontal overflow
- Improve mobile typography with responsive font sizing for category names
- Add hyphenation support for long hostnames and domain names

Benefits:
- Better accessibility and readability with higher contrast headers
- Prevents table layout issues with long hostnames
- Maintains responsive design across all screen sizes
- Professional appearance with consistent text handling

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Michael Mainguy 2025-08-19 08:15:38 -05:00
parent c04735b1b9
commit a2e161bf2a

View File

@ -6,7 +6,7 @@
.container h2 {
margin-bottom: 30px;
color: #333;
color: white;
font-size: 28px;
font-weight: 600;
}
@ -77,7 +77,7 @@
.breakdownSection h3 {
margin-bottom: 20px;
color: #333;
color: white;
font-size: 22px;
font-weight: 600;
border-bottom: 2px solid #e0e0e0;
@ -89,6 +89,8 @@
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
width: 100%;
table-layout: fixed;
}
.tableHeader {
@ -126,6 +128,10 @@
.categoryName {
font-weight: 600;
color: #333;
word-break: break-word;
overflow-wrap: break-word;
hyphens: auto;
line-height: 1.3;
}
.percentageCell {
@ -206,12 +212,19 @@
font-size: 13px;
}
.categoryName {
font-size: 12px;
line-height: 1.3;
}
.breakdownSection h3 {
font-size: 18px;
color: white;
}
.container h2 {
font-size: 24px;
color: white;
}
}