Styling
This commit is contained in:
@@ -63,8 +63,11 @@ export const Dashboard = function ({ state, updateCache }) {
|
||||
}, [dateTime]);
|
||||
|
||||
return (
|
||||
<div>
|
||||
<ForecastDatePicker dateTime={dateTime} onChange={setDateTime} />
|
||||
<div className="flex p-5 bg-white border border-solid border-slate-300 rounded-lg space-y-5">
|
||||
<div>
|
||||
<h1 className="text-lg font-medium mb-2">Forecast</h1>
|
||||
<ForecastDatePicker dateTime={dateTime} onChange={setDateTime} />
|
||||
</div>
|
||||
{data ? <WeatherChart data={data} /> : "Loading..."}
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user