fixed scroll bars on chrome
All checks were successful
Docker Build & Publish / Build Docker (push) Successful in 1m8s

This commit is contained in:
ChrQR 2024-05-13 09:30:43 +02:00
parent 1be462b7db
commit a1b7c12821

View File

@ -4,7 +4,7 @@ import DailyCard from "./DailyCard";
export default function CardContainer(props: { weather: Forecast }) { export default function CardContainer(props: { weather: Forecast }) {
const weather = props.weather; const weather = props.weather;
return ( return (
<div className="p-2 flex overflow-scroll md:overflow-auto md:justify-center w-full"> <div className="p-2 flex overflow-x-scroll md:overflow-hidden md:justify-center w-full">
{weather.daily && {weather.daily &&
weather.daily.apparent_temperature_max.map( weather.daily.apparent_temperature_max.map(
(temp, index) => (temp, index) =>