fix(theme): incorrect display non-local icons, close #134
This commit is contained in:
parent
85a923f736
commit
64e9a0f330
@ -58,11 +58,17 @@ const bind = computed<any>(() => ({
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<ClientOnly>
|
<ClientOnly>
|
||||||
<span v-if="!loaded" class="vp-icon" :style="{ color, width: size, height: size }" />
|
<span v-if="!loaded" class="vp-icon iconify" :style="{ color, width: size, height: size }" />
|
||||||
<OfflineIcon
|
<OfflineIcon
|
||||||
v-else-if="icon"
|
v-else-if="icon"
|
||||||
class="vp-icon"
|
class="vp-icon iconify"
|
||||||
v-bind="bind"
|
v-bind="bind"
|
||||||
/>
|
/>
|
||||||
</ClientOnly>
|
</ClientOnly>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.vp-icon.iconify {
|
||||||
|
background-color: unset;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user