Skip to content

Commit

Permalink
chore: transform border color icon component
Browse files Browse the repository at this point in the history
  • Loading branch information
hywax committed Mar 16, 2024
1 parent eb9d7da commit 28ee84d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions components/service/base/Icon.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const wrapClasses = computed(() => ({
'bg-fg/5 dark:bg-fg/10': props?.wrap && !props?.background,
'p-2': props?.wrap,
[iconClasses]: true,
'border border-fg/10 dark:border-fg/15 rounded-2xl': true,
}))
const wrapStyles = computed(() => ({
Expand Down
2 changes: 1 addition & 1 deletion components/service/base/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<ServicePlaceholder v-if="loadingOverlay" />
<Component :is="isLink ? 'a' : 'div'" v-else :href="link" :target="target" class="p-4 flex gap-4 hover:bg-fg/5 dark:hover:bg-fg/9 rounded-2xl transition-all">
<div class="flex-shrink-0 flex">
<div class="self-center w-16 h-16 overflow-hidden rounded-2xl border border-fg/10 dark:border-fg/15">
<div class="self-center w-16 h-16 overflow-hidden">
<slot name="icon" :service="data">
<ServiceBaseIcon v-if="icon" v-bind="icon" />
</slot>
Expand Down

0 comments on commit 28ee84d

Please sign in to comment.