You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The main dashboard uses ad-hoc spacing values (2px, 10px) that break the 8px-based spacing scale defined in the design system. This creates visual rhythm inconsistencies and maintenance difficulties.
Design System Specification
8px-based spacing scale:
4px (0.5 units)
8px (1 unit)
12px (1.5 units)
16px (2 units)
20px (2.5 units)
24px (3 units)
32px (4 units)
40px (5 units)
48px (6 units)
64px (8 units)
Current Issues
Issue 1: Non-standard padding (10px)
dashboard.html:1159
.legal-ref {
padding:4px10px; /* ❌ 10px not in scale */
}
Priority: HIGH
Severity: Design System Consistency
Identified in: Design QA Review (2026-01-10)
Location:
dashboard.html(multiple locations)Description
The main dashboard uses ad-hoc spacing values (2px, 10px) that break the 8px-based spacing scale defined in the design system. This creates visual rhythm inconsistencies and maintenance difficulties.
Design System Specification
8px-based spacing scale:
Current Issues
Issue 1: Non-standard padding (10px)
dashboard.html:1159Fix:
Issue 2: Non-standard padding (2px)
dashboard.html:1239Fix:
Additional Violations to Audit
Search for all non-standard spacing:
Impact
Recommended Solution
1. Audit All Spacing Values
Create comprehensive list of all spacing in dashboard.html:
2. Replace Non-Standard Values
3. Consider Using CSS Variables
For maintainability:
Implementation Steps
Acceptance Criteria
Files to Update
dashboard.html(CSS section, multiple locations)governance_dashboard.html(audit for similar issues)login.html(audit for similar issues)Testing Checklist
Related Issues
Example: Before & After
Before:
After:
Labels
design-system,high-priority,consistency,refactoring,css