diff --git a/platypush/backend/http/static/css/widgets/date-time-weather.css b/platypush/backend/http/static/css/widgets/date-time-weather.css index 49fcf029e..3c3b175d7 100644 --- a/platypush/backend/http/static/css/widgets/date-time-weather.css +++ b/platypush/backend/http/static/css/widgets/date-time-weather.css @@ -4,6 +4,8 @@ .date-time-weather-container { padding: 2rem; + position: relative; + min-height: 20.5em; } h1.temperature { @@ -16,8 +18,22 @@ h1.temperature { font-size: 22px; } + .widget.date-time-weather * > .sensors { + position: absolute; + bottom: 2rem; + width: 100%; + } + .widget.date-time-weather * > .sensor-temperature, .widget.date-time-weather * > .sensor-humidity { display: none; + font-weight: bold; } + .widget.date-time-weather * > .sensor-temperature { + text-align: left; + } + + .widget.date-time-weather * > .sensor-humidity { + text-align: right; + } diff --git a/platypush/backend/http/templates/widgets/date-time-weather.html b/platypush/backend/http/templates/widgets/date-time-weather.html index bfe1483da..0bea4cd97 100644 --- a/platypush/backend/http/templates/widgets/date-time-weather.html +++ b/platypush/backend/http/templates/widgets/date-time-weather.html @@ -11,12 +11,16 @@
-
- Sensor temperature: N/A° -
+
+
+   + N/A° +
-
- Sensor humidity: N/A% +
+   + N/A% +