mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #54845 from nextcloud/backport/54836/stable31
[stable31] Fix dashboard icons
This commit is contained in:
commit
0e93590a70
4 changed files with 9 additions and 5 deletions
|
|
@ -53,12 +53,12 @@ class FavoriteWidget implements IIconWidget, IAPIWidgetV2, IButtonWidget, IOptio
|
|||
}
|
||||
|
||||
public function getIconClass(): string {
|
||||
return 'icon-star-dark';
|
||||
return 'icon-starred-dark';
|
||||
}
|
||||
|
||||
public function getIconUrl(): string {
|
||||
return $this->urlGenerator->getAbsoluteURL(
|
||||
$this->urlGenerator->imagePath('core', 'actions/star.svg')
|
||||
$this->urlGenerator->imagePath('core', 'actions/star-dark.svg')
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -563,6 +563,10 @@ export default {
|
|||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.icon-weather-status {
|
||||
background-image: url('../img/app-dark.svg');
|
||||
}
|
||||
|
||||
.weather-action-image-container {
|
||||
width: var(--default-clickable-area);
|
||||
height: var(--default-clickable-area);
|
||||
|
|
|
|||
4
dist/weather_status-weather-status.js
vendored
4
dist/weather_status-weather-status.js
vendored
File diff suppressed because one or more lines are too long
2
dist/weather_status-weather-status.js.map
vendored
2
dist/weather_status-weather-status.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue