Improves dashboard UI and user management

Enhances the dashboard's visual presentation and user management
functionality.

- Addresses a layout issue by adding overflow hidden to the word cloud container.
- Improves user management form responsiveness on smaller screens.
- Enhances language name display in the pie chart using a dedicated function and ensures correct ISO code display.
- Refines donut chart's center text styling for better readability.
- Fixes geographic map's height and removes attribution for a cleaner look.
This commit is contained in:
2025-05-22 05:05:04 +02:00
parent 00f2f5c59b
commit ac7cafd7b2
7 changed files with 43 additions and 49 deletions

View File

@ -99,14 +99,13 @@ export default function GeographicMap({
}
return (
<div className="h-full w-full" style={{ height }}>
{Object.keys(countries).length > 0 ? (
<Map countryData={countryData} maxCount={maxCount} />
) : (
<div className="h-full w-full bg-gray-100 flex items-center justify-center">
No geographic data available
</div>
)}
<div style={{ height: `${height}px`, width: "100%" }} className="relative">
<Map countryData={countryData} maxCount={maxCount} />
<style jsx global>{`
.leaflet-control-attribution {
display: none !important;
}
`}</style>
</div>
);
}