diff --git a/src/widgets/weather/WeatherIcon.tsx b/src/widgets/weather/WeatherIcon.tsx
index aa8ef02cb..2a845b48e 100644
--- a/src/widgets/weather/WeatherIcon.tsx
+++ b/src/widgets/weather/WeatherIcon.tsx
@@ -30,7 +30,7 @@ export const WeatherIcon = ({ code }: WeatherIconProps) => {
return (
-
+
);
diff --git a/src/widgets/weather/WeatherTile.tsx b/src/widgets/weather/WeatherTile.tsx
index 118e1a584..677d4bd6c 100644
--- a/src/widgets/weather/WeatherTile.tsx
+++ b/src/widgets/weather/WeatherTile.tsx
@@ -19,7 +19,7 @@ const definition = defineWidget({
},
},
gridstack: {
- minWidth: 4,
+ minWidth: 2,
minHeight: 2,
maxWidth: 12,
maxHeight: 12,
@@ -61,39 +61,34 @@ function WeatherTile({ widget }: WeatherTileProps) {
// TODO: add widgetWrapper that is generic and uses the definition
return (
-
-
+
+
-
-
- {getPerferedUnit(
- weather!.current_weather.temperature,
- widget.properties.displayInFahrenheit
- )}
-
-
-
-
- {getPerferedUnit(
- weather!.daily.temperature_2m_max[0],
- widget.properties.displayInFahrenheit
- )}
-
-
-
-
-
- {getPerferedUnit(
- weather!.daily.temperature_2m_min[0],
- widget.properties.displayInFahrenheit
- )}
-
-
-
-
-
+
+ {getPerferedUnit(
+ weather!.current_weather.temperature,
+ widget.properties.displayInFahrenheit
+ )}
+
-
+
+
+ {getPerferedUnit(
+ weather!.daily.temperature_2m_max[0],
+ widget.properties.displayInFahrenheit
+ )}
+
+ {getPerferedUnit(
+ weather!.daily.temperature_2m_min[0],
+ widget.properties.displayInFahrenheit
+ )}
+
+
);
}