aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/components/FileEntry.vue
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2023-07-19 21:42:31 +0200
committerFerdinand Thiessen <opensource@fthiessen.de>2023-07-19 21:47:16 +0200
commitb54542ca886e4f5fdd0ae80a983cb8b6f17ae7bc (patch)
tree4a78c28d7189100e2c1b4e2e146c74f66d40a5be /apps/files/src/components/FileEntry.vue
parent2e175fb7a20bdd227834b8ecccf1fefe8709ca83 (diff)
downloadnextcloud-server-b54542ca886e4f5fdd0ae80a983cb8b6f17ae7bc.tar.gz
nextcloud-server-b54542ca886e4f5fdd0ae80a983cb8b6f17ae7bc.zip
fix(files): Adjust files favorite marker for vue file list to not overflow
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps/files/src/components/FileEntry.vue')
-rw-r--r--apps/files/src/components/FileEntry.vue8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/files/src/components/FileEntry.vue b/apps/files/src/components/FileEntry.vue
index 672d7a0de33..3257e161046 100644
--- a/apps/files/src/components/FileEntry.vue
+++ b/apps/files/src/components/FileEntry.vue
@@ -3,7 +3,7 @@
-
- @author John Molakvoæ <skjnldsv@protonmail.com>
-
- - @license GNU AGPL version 3 or any later version
+ - @license AGPL-3.0-or-later
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License as
@@ -53,7 +53,7 @@
<span v-if="isFavorite"
class="files-list__row-icon-favorite"
:aria-label="t('files', 'Favorite')">
- <StarIcon aria-hidden="true" :size="20" />
+ <FavoriteIcon :aria-hidden="true" />
</span>
</span>
@@ -164,7 +164,6 @@ import NcActions from '@nextcloud/vue/dist/Components/NcActions.js'
import NcCheckboxRadioSwitch from '@nextcloud/vue/dist/Components/NcCheckboxRadioSwitch.js'
import NcLoadingIcon from '@nextcloud/vue/dist/Components/NcLoadingIcon.js'
import NcTextField from '@nextcloud/vue/dist/Components/NcTextField.js'
-import StarIcon from 'vue-material-design-icons/Star.vue'
import Vue from 'vue'
import type moment from 'moment'
@@ -180,6 +179,7 @@ import { useUserConfigStore } from '../store/userconfig.ts'
import { useRenamingStore } from '../store/renaming.ts'
import CustomElementRender from './CustomElementRender.vue'
import CustomSvgIconRender from './CustomSvgIconRender.vue'
+import FavoriteIcon from './FavoriteIcon.vue'
import logger from '../logger.js'
// The registered actions list
@@ -193,6 +193,7 @@ export default Vue.extend({
components: {
CustomElementRender,
CustomSvgIconRender,
+ FavoriteIcon,
FileIcon,
FolderIcon,
Fragment,
@@ -201,7 +202,6 @@ export default Vue.extend({
NcCheckboxRadioSwitch,
NcLoadingIcon,
NcTextField,
- StarIcon,
},
props: {