Skip to content

Commit

Permalink
fix: icon can not be seen clearly due to Zephyruso#66
Browse files Browse the repository at this point in the history
  • Loading branch information
lamprose committed Dec 8, 2024
1 parent 94e2433 commit facbd12
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/proxies/ProxyIcon.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<template>
<div
v-if="isDom"
class="h-5 w-5 fill-primary"
class="h-5 w-5"
:class="inNodeCard ? 'fill-secondary' : 'fill-primary'"
v-html="pureDom"
/>
<img
Expand All @@ -17,6 +18,7 @@ import { computed } from 'vue'
const props = defineProps<{
icon: string
inNodeCard?: boolean
}>()
const DOM_STARTS_WITH = 'data:image/svg+xml,'
Expand Down
1 change: 1 addition & 0 deletions src/components/proxies/ProxyNodeCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<ProxyIcon
v-if="node.icon"
:icon="node.icon"
in-node-card
/>
<div
:class="
Expand Down

0 comments on commit facbd12

Please sign in to comment.