Add icon component <img> flexbox wrapper

This commit is contained in:
2026-05-23 16:34:57 +02:00
parent 91a6f6d848
commit 16d0f37691
+9
View File
@@ -40,5 +40,14 @@ const size = computed(() => ensureUnit(props.size))
</script> </script>
<template> <template>
<div class="icon-container">
<img :src="Icon" :style="{ height: `${size}`, width: `${size}` }" /> <img :src="Icon" :style="{ height: `${size}`, width: `${size}` }" />
</div>
</template> </template>
<style scoped>
.icon-container {
display: flex;
align-items: center;
}
</style>