Skip to content

Commit cb01425

Browse files
gskrilclaude
andcommitted
Fix chart overlap with time range buttons
Increase chart top margin when range buttons are visible so the grid lines and data line don't overlap with the button row. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ae3ecca commit cb01425

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

client/src/screens/Home.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export function Home() {
138138
margin={{
139139
left: 12,
140140
right: 12,
141-
top: 4,
141+
top: timeRanges.length > 1 ? 32 : 4,
142142
}}
143143
>
144144
<CartesianGrid vertical={false} />

0 commit comments

Comments
 (0)