fix: upload source=srv, expense detail popup, invoice/expense filters, pie charts, date timezone fixes

This commit is contained in:
Krao Hasanee
2026-06-02 14:08:11 -04:00
parent 1f09ce0a1d
commit 770bb1c05b
4 changed files with 253 additions and 122 deletions
+2
View File
@@ -69,6 +69,8 @@ This is the single source of truth for dashboard/profile visual structure and UI
- action buttons group sits on the right using: `margin-left: auto`, `display: flex`, `align-items: center`, `gap: 8`
- do not use hardcoded spacer blocks (`width` filler divs) to force alignment
- icon-only filter/action buttons share the same row and align vertically with add buttons
- filter button wrapper: `<div style={{ position: 'relative', display: 'flex', alignItems: 'center' }}>``display: flex` prevents block stretching that misaligns the button vertically
- filter button: `className="btn btn-outline"` + `style={{ display: 'inline-flex', alignItems: 'center', gap: 6 }}`, icon only (no label), funnel SVG `<path d="M2 4h12M4 8h8M6 12h4" />` at `13×13`; dropdown uses `site-header-avatar-menu` + `site-header-avatar-item` classes
- when the control bar uses a multi-column grid (to align with split-card layouts below), add `align-items: center` to the grid and `min-height: var(--btn-height)` to every column so row height is stable across all tab states
## 7) Dashboard Grids (Team)