Skip to content

Commit 1ffb91f

Browse files
committed
fix: lint
1 parent 149ee24 commit 1ffb91f

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/runtime/components/PageCard.vue

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,14 @@ const ariaLabel = computed(() => {
122122
</script>
123123

124124
<template>
125-
<Primitive ref="cardRef" :as="as" :data-orientation="orientation" :class="ui.root({ class: [props.ui?.root, props.class] })" :style="spotlight && { '--spotlight-x': `${elementX}px`, '--spotlight-y': `${elementY}px` }" @click="onClick">
125+
<Primitive
126+
ref="cardRef"
127+
:as="as"
128+
:data-orientation="orientation"
129+
:class="ui.root({ class: [props.ui?.root, props.class] })"
130+
:style="spotlight && { '--spotlight-x': `${elementX}px`, '--spotlight-y': `${elementY}px` }"
131+
@click="onClick"
132+
>
126133
<div v-if="props.spotlight" :class="ui.spotlight({ class: props.ui?.spotlight })" />
127134

128135
<div :class="ui.container({ class: props.ui?.container })">
@@ -131,7 +138,6 @@ const ariaLabel = computed(() => {
131138
<slot name="header" />
132139
</div>
133140

134-
135141
<div v-if="!!slots.body || (title || !!slots.title) || (description || !!slots.description)" :class="ui.body({ class: props.ui?.body })">
136142
<div v-if="icon || !!slots.leading" :class="ui.leading({ class: props.ui?.leading })">
137143
<slot name="leading">

0 commit comments

Comments
 (0)