diff options
author | Raimund Schlüßler <raimund.schluessler@mailbox.org> | 2021-09-03 10:43:10 +0300 |
---|---|---|
committer | Raimund Schlüßler <raimund.schluessler@mailbox.org> | 2021-09-03 10:43:10 +0300 |
commit | e90767d5edea86539ed529493b35ec4460c5bcfa (patch) | |
tree | 2dcfbacc66b1651f0141c13b34e999923acfbf75 /src | |
parent | d1220bfe7dc729a3beb2d5b139dd8cfa4c8e1a4e (diff) |
Use material design icon for group avatar
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/components/AppNavigation/CalendarSharee.vue | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/components/AppNavigation/CalendarSharee.vue b/src/components/AppNavigation/CalendarSharee.vue index bf1a8276..a8b85154 100644 --- a/src/components/AppNavigation/CalendarSharee.vue +++ b/src/components/AppNavigation/CalendarSharee.vue @@ -28,7 +28,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. <AppNavigationItem :title="sharee.displayName"> <template #icon> - <div v-if="sharee.isGroup" class="avatar icon-group" /> + <AccountMultiple + v-if="sharee.isGroup" + :size="20" + decorative + class="avatar" /> <div v-else-if="sharee.isCircle" class="avatar icon-circle" /> <Avatar v-else :user="sharee.id" @@ -65,6 +69,7 @@ import ActionCheckbox from '@nextcloud/vue/dist/Components/ActionCheckbox' import AppNavigationItem from '@nextcloud/vue/dist/Components/AppNavigationItem' import Avatar from '@nextcloud/vue/dist/Components/Avatar' +import AccountMultiple from 'vue-material-design-icons/AccountMultiple.vue' import Delete from 'vue-material-design-icons/Delete.vue' export default { @@ -74,6 +79,7 @@ export default { ActionCheckbox, AppNavigationItem, Avatar, + AccountMultiple, Delete, }, props: { @@ -139,3 +145,12 @@ export default { }, } </script> + +<style lang="scss" scoped> +.app-navigation-entry .avatar { + width: 32px; + height: 32px; + background-color: var(--color-border-dark); + background-size: 16px; +} +</style> |