diff options
author | Joas Schilling <coding@schilljs.com> | 2022-08-25 17:50:01 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-08-25 17:50:01 +0200 |
commit | f53cac1b3289ea11522730ec402098db02c99321 (patch) | |
tree | c986b7859e7340e71644283a06876725125d3c07 /apps | |
parent | 696a48ae975d7f9cf1ea80d35e6d93c103daa7c3 (diff) | |
download | nextcloud-server-f53cac1b3289ea11522730ec402098db02c99321.tar.gz nextcloud-server-f53cac1b3289ea11522730ec402098db02c99321.zip |
Fix weather icon
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/weather_status/src/App.vue | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/weather_status/src/App.vue b/apps/weather_status/src/App.vue index bba51163ec8..e287df4f914 100644 --- a/apps/weather_status/src/App.vue +++ b/apps/weather_status/src/App.vue @@ -504,9 +504,9 @@ export default { if (loading) { return 'icon-loading-small' } else { - return weatherCode && weatherCode in weatherOptions + return 'icon-weather ' + (weatherCode && weatherCode in weatherOptions ? weatherOptions[weatherCode].icon - : 'icon-fair-day' + : 'icon-fair-day') } }, getWeatherMessage(weatherCode, temperature, later = false) { @@ -523,6 +523,9 @@ export default { </script> <style lang="scss"> +.icon-weather { + background-size: 16px; +} .icon-weather-status { background-image: url('./../img/app-dark.svg'); } |