💄 WeatherModule styling

This commit is contained in:
ajnart
2022-05-26 18:13:51 +02:00
parent 96f58288ac
commit 2c16075413

View File

@@ -163,7 +163,7 @@ export default function WeatherComponent(props: any) {
return isFahrenheit ? `${(value * (9 / 5)).toFixed(1)}°F` : `${value.toFixed(1)}°C`; return isFahrenheit ? `${(value * (9 / 5)).toFixed(1)}°F` : `${value.toFixed(1)}°C`;
} }
return ( return (
<Group position="left" direction="column"> <Group p="sm" spacing="xs" direction="column">
<Title>{usePerferedUnit(weather.current_weather.temperature)}</Title> <Title>{usePerferedUnit(weather.current_weather.temperature)}</Title>
<Group spacing={0}> <Group spacing={0}>
<WeatherIcon code={weather.current_weather.weathercode} /> <WeatherIcon code={weather.current_weather.weathercode} />