Skip to content

Commit 75fa1c1

Browse files
fix graph for brave, chromium (#6320)
1 parent ba8ded0 commit 75fa1c1

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ All notable changes to this project will be documented in this file.
3939
- Fixed top bar not scrolling horizontally on mobile
4040
- Fixed incline/decline percentages not showing in top stats in comparison mode
4141
- Fixed issue with timestamps being rendered incorrectly in segment menus and modals for some timezones
42+
- Fixed main graph being clipped when the browser's root font size is smaller than the default 16px
4243

4344
## v3.2.0 - 2026-01-16
4445

assets/js/dashboard/stats/graph/main-graph.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,11 @@ export const MainGraphContainer = React.forwardRef<
547547
{ children: ReactNode }
548548
>((props, ref) => {
549549
return (
550-
<div className="relative mt-4 mb-3 h-92 w-full" ref={ref}>
550+
<div
551+
className="relative mt-4 mb-3 w-full"
552+
style={{ height: `${height}px` }}
553+
ref={ref}
554+
>
551555
{props.children}
552556
</div>
553557
)

0 commit comments

Comments
 (0)