ReviewOS

also looking at this

stacks/analyticshq

fix(dashboard): close the date picker on a click outside it

#56
Merged glennmichael123 wants to merge fix/date-picker-dismiss into main
3 files +25 -0
resources/views/dashboard.stxmodified+1-0
Changes to resources/views/dashboard.stx
@@ -2188,6 +2188,7 @@ summary:focus-visible {
21882188/* Period picker: presets down the left, two months on the right. The range is
21892189 drawn flat with rounded ends, the way Fathom's is, on the --bar wash the KPI
21902190 bars already use so it reads as the same accent at the same strength. */
2191.drp-backdrop { position: fixed; inset: 0; z-index: 39; background: transparent; cursor: default; }
21912192.drp { display: grid; grid-template-columns: 10.5rem minmax(0, 1fr); gap: 0.75rem; }
21922193.drp-presets { display: flex; flex-direction: column; gap: 0.15rem; padding-right: 0.75rem; border-right: 1px solid var(--border); }
21932194.drp-preset {