mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
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>
|
||||
<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
|
||||
v-else-if="icon"
|
||||
class="vp-icon"
|
||||
class="vp-icon iconify"
|
||||
v-bind="bind"
|
||||
/>
|
||||
</ClientOnly>
|
||||
</template>
|
||||
|
||||
<style>
|
||||
.vp-icon.iconify {
|
||||
background-color: unset;
|
||||
}
|
||||
</style>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user