File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/[locale]/10years/_components Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ const TenYearGlobe = ({ events }: { events: EventData[] }) => {
48
48
const atmosphereColor = resolvedTheme === "dark" ? "#B38DF0" : "#945AF4"
49
49
50
50
const width = useBreakpointValue ( {
51
- base : 260 ,
51
+ base : window ?. innerWidth - 64 || 260 , // Full width on mobile with padding
52
52
sm : 400 ,
53
53
md : 500 ,
54
54
lg : 600 ,
@@ -237,8 +237,8 @@ const TenYearGlobe = ({ events }: { events: EventData[] }) => {
237
237
return (
238
238
< div
239
239
ref = { globeContainerRef }
240
- className = "relative cursor-grab active:cursor-grabbing"
241
- style = { { width : width , height : width } }
240
+ className = "relative w-full max-w-full cursor-grab active:cursor-grabbing"
241
+ style = { { height : width } }
242
242
>
243
243
{ MemoizedGlobe }
244
244
{ hoveredEvent && tooltipPos && (
You can’t perform that action at this time.
0 commit comments