Skip to content

Commit 7b8a0a5

Browse files
committed
💄 lint
1 parent c3795cb commit 7b8a0a5

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

‎app/components/Sponsors/Ad.vue‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,17 @@ const sponsor = useSponsors()
33
</script>
44

55
<template>
6-
<div class="space-y-3">
6+
<div v-if="sponsor" class="space-y-3">
77
<UPageCard
88
spotlight
9-
:class="'[--spotlight-color:'+sponsor.spotlightColor+']'"
9+
:class="'[--spotlight-color:' + sponsor.spotlightColor + '] [--spotlight-size:150px]'"
1010
:to="sponsor.link"
1111
target="_blank"
12-
:ui="{ header: { padding: 'p-0 sm:p-0' }, rounded: 'rounded', body: { padding: 'p-2 sm:p-2', base: 'text-center' } }"
12+
:ui="{
13+
header: { padding: 'p-0 sm:p-0' },
14+
rounded: 'rounded',
15+
body: { padding: 'p-2 sm:p-2', base: 'text-center' }
16+
}"
1317
>
1418
<template #header>
1519
<UColorModeImage

0 commit comments

Comments
 (0)