feat: migrate from npm to bun and fix analytics map height
Switch package manager and runtime from Node.js/npm to Bun across Docker, CI, and scripts. The SQLite driver remains better-sqlite3 due to Next.js Turbopack being unable to resolve bun:sqlite during build-time page pre-rendering. Also fix the world map not rendering in the analytics page — the overflowX wrapper added for mobile broke the flex height chain, collapsing the map to 0px. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -509,10 +509,8 @@ export default function AnalyticsClient() {
|
||||
<Typography variant="subtitle1" fontWeight={600} sx={{ mb: 1 }}>
|
||||
Traffic by Country
|
||||
</Typography>
|
||||
<Box sx={{ flex: 1, minHeight: 0 }}>
|
||||
<Box sx={{ overflowX: "auto", width: "100%" }}>
|
||||
<WorldMap data={countries} selectedCountry={selectedCountry} />
|
||||
</Box>
|
||||
<Box sx={{ flex: 1, minHeight: 280 }}>
|
||||
<WorldMap data={countries} selectedCountry={selectedCountry} />
|
||||
</Box>
|
||||
</CardContent>
|
||||
</Card>
|
||||
|
||||
Reference in New Issue
Block a user