π The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.
Vue dockergolangkanbanknowledge-baseknowledge-managementmarkdownnote-takingnotesnotes-appnotionnuxtnuxtjsoffline-firstoidcpwaselfhostedssovuevuejswiki
Add size prop for custom icons sizes
Smaug6739c6abb4dac9f6
diff --git a/frontend/app/components/Icon.vue b/frontend/app/components/Icon.vueindex d8c7c1fb..e2df391a 100644--- a/frontend/app/components/Icon.vue+++ b/frontend/app/components/Icon.vue@@ -1,5 +1,5 @@<template>- <svg v-if="isSpriteIcon" class="icon" :class="{ big, mid, small }" :style="{ color: fill || 'currentColor' }" aria-hidden="true">+ <svg v-if="isSpriteIcon" class="icon" :class="{ big, mid, small }" :style="{ color: fill || 'currentColor', width: size, height: size }" aria-hidden="true"><use :href="`#icon-${name}`" /></svg>@@ -15,6 +15,7 @@ const props = defineProps<{big?: boolean;mid?: boolean;small?: boolean;+ size?: string;}>();const isSpriteIcon = computed(() => {