#74 - fix icons

This commit is contained in:
Adrian Hopek
2022-03-21 10:29:46 +01:00
parent 6ea9139754
commit 1c83f2dbaa
3 changed files with 22 additions and 85 deletions

View File

@@ -1,8 +1,8 @@
<template>
<div class="flex items-center">
<component
:is="vacationTypeInfo.solid.icon"
:class="[vacationTypeInfo.solid.color ,'w-5 h-5 mr-1.5']"
:is="vacationTypeInfo.icon"
:class="[vacationTypeInfo.color ,'w-5 h-5 mr-1.5']"
:size="20"
/>
<span>{{ vacationTypeInfo.text }}</span>

View File

@@ -2,8 +2,8 @@
<Popper hover>
<div class="flex items-center">
<div>
<span :class="[typeInfo.outline.foreground, 'flex items-center justify-center']">
<component :is="typeInfo.outline.icon" />
<span :class="[typeInfo.color, 'flex items-center justify-center']">
<component :is="typeInfo.icon" />
</span>
</div>
</div>