mirror of
https://github.com/kjanat/livedash-node.git
synced 2026-01-16 08:52:10 +01:00
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:
@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user