Skip to content

Commit 028d92f

Browse files
committed
lint
1 parent 6ce7078 commit 028d92f

File tree

8 files changed

+18
-18
lines changed

8 files changed

+18
-18
lines changed

example/Checkout.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const payload = toUtf8Bytes('tier-1')
2727
>
2828
<span
2929
slot="checkout:preview"
30-
class="h-auto min-h-24 w-24 rounded-lg border border-black/20 bg-black/10 p-1"
30+
class="min-h-24 h-auto w-24 rounded-lg border border-black/20 bg-black/10 p-1"
3131
>
3232
<img
3333
v-if="previewImageSrc"
@@ -37,7 +37,7 @@ const payload = toUtf8Bytes('tier-1')
3737
</span>
3838
<img
3939
slot="checkout:result:preview"
40-
class="z-10 max-h-60 min-h-full max-w-60 rounded-md object-contain @xl/clb_result_modal:max-h-none @xl/clb_result_modal:max-w-xl"
40+
class="max-w-60 z-10 max-h-60 min-h-full rounded-md object-contain @xl/clb_result_modal:max-h-none @xl/clb_result_modal:max-w-xl"
4141
src="https://images.unsplash.com/photo-1688168293343-e1c824a4ace5?q=80&w=1200&h=1200&fit=crop"
4242
/>
4343
<div class="opacity-50" slot="checkout:after:description">

src/layouts/Admin.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ const SlotsSidebarAfterFooter = clubs.slots.filter(
206206
</main>
207207
{
208208
showAside && (
209-
<div class="container mx-auto max-w-96 px-2 py-8 lg:px-0 lg:py-16">
209+
<div class="max-w-96 container mx-auto px-2 py-8 lg:px-0 lg:py-16">
210210
<Aside showConnectButton={true}>
211211
<slot name="clubs:connect-button" slot="aside:connect-button">
212212
<ConnectButton client:load chainId={config.chainId} />

src/ui/components/Checkout/Checkout.vue

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ onUnmounted(() => {
596596
<span class="peer contents">
597597
<slot name="preview" />
598598
</span>
599-
<span class="contents peer-has-[:not(:empty)]:hidden">
599+
<span class="peer-has-[:not(:empty)]:hidden contents">
600600
<span
601601
v-if="!previewImageSrc && previewVideoSrc"
602602
class="w-36 rounded-lg border border-black/20 bg-black/10 p-1"
@@ -609,7 +609,7 @@ onUnmounted(() => {
609609

610610
<span
611611
v-if="!previewVideoSrc"
612-
class="h-auto min-h-24 w-24 rounded-lg border border-black/20 bg-black/10 p-1"
612+
class="min-h-24 h-auto w-24 rounded-lg border border-black/20 bg-black/10 p-1"
613613
>
614614
<img
615615
v-if="previewImageSrc"
@@ -660,7 +660,7 @@ onUnmounted(() => {
660660
v-if="account === undefined"
661661
class="absolute -left-2 @xs/clb_checkout_signin_button:left-5"
662662
/>
663-
<IconSpinner v-else class="absolute left-5 size-5" />
663+
<IconSpinner v-else class="size-5 absolute left-5" />
664664
<span class="font-bold">{{ i18n('SignIn') }}</span>
665665
</button>
666666
<a
@@ -673,7 +673,7 @@ onUnmounted(() => {
673673
<div class="flex items-center justify-start gap-2">
674674
<img
675675
:src="clubsProfile.avatar"
676-
class="aspect-square size-8 overflow-hidden rounded-full border border-black/20 object-cover"
676+
class="size-8 aspect-square overflow-hidden rounded-full border border-black/20 object-cover"
677677
/>
678678
<span class="text-sm font-bold">{{ clubsProfile.username }}</span>
679679
</div>
@@ -779,11 +779,11 @@ onUnmounted(() => {
779779
approveNeeded &&
780780
(isApproving || isFetchingApproval === 'progress')
781781
"
782-
class="absolute left-5 size-5"
782+
class="size-5 absolute left-5"
783783
/>
784784
<IconCheckCircle
785785
v-if="approveNeeded === false"
786-
class="absolute left-5 size-5 text-dp-green-300"
786+
class="size-5 absolute left-5 text-dp-green-300"
787787
type="solid"
788788
/>
789789
<IconBouncingArrowRight
@@ -830,7 +830,7 @@ onUnmounted(() => {
830830
>
831831
<IconSpinner
832832
v-if="isStaking || isFetchingFunds === 'progress'"
833-
class="absolute left-5 size-5"
833+
class="size-5 absolute left-5"
834834
/>
835835
<IconBouncingArrowRight
836836
class="absolute -left-2 group-disabled:hidden @xs/clb_checkout_pay_button:left-5"

src/ui/components/Checkout/ModalCheckout.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ onMounted(async () => {
171171
</a>
172172

173173
<div
174-
class="bg-color-navy relative mb-6 flex h-auto min-h-52 w-full flex-col items-center justify-center overflow-hidden rounded-md border border-black p-2 @xl/clb_result_modal:h-96 @xl/clb_result_modal:min-h-0 @xl/clb_result_modal:p-8"
174+
class="bg-color-navy min-h-52 relative mb-6 flex h-auto w-full flex-col items-center justify-center overflow-hidden rounded-md border border-black p-2 @xl/clb_result_modal:h-96 @xl/clb_result_modal:min-h-0 @xl/clb_result_modal:p-8"
175175
>
176176
<div
177177
class="w-h-screen bg-focus-lines origin-zero animate-spin-slow mask absolute inset-2/4 bg-center bg-no-repeat"
@@ -190,16 +190,16 @@ onMounted(async () => {
190190
<span class="peer contents">
191191
<slot name="preview" />
192192
</span>
193-
<span class="contents peer-has-[:not(:empty)]:hidden">
193+
<span class="peer-has-[:not(:empty)]:hidden contents">
194194
<img
195195
v-if="imageSrc"
196196
ref="imageRef"
197-
class="z-10 max-h-60 min-h-full max-w-60 rounded-md object-contain @xl/clb_result_modal:max-h-none @xl/clb_result_modal:max-w-xl"
197+
class="max-w-60 z-10 max-h-60 min-h-full rounded-md object-contain @xl/clb_result_modal:max-h-none @xl/clb_result_modal:max-w-xl"
198198
/>
199199
<!-- video -->
200200
<VideoFetch
201201
v-if="!imageSrc && videoSrc"
202-
class="aspect-[1/1] max-w-60 rounded-md"
202+
class="max-w-60 aspect-[1/1] rounded-md"
203203
video-class="rounded-md [&>video]:rounded-md"
204204
:url="videoSrc"
205205
/>

src/ui/svelte/IconBouncingArrowRight.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
${typeof className === 'string' ? className : ''}
2727
`}
2828
>
29-
<IconArrowRight class="aspect-square size-full text-white" />
29+
<IconArrowRight class="size-full aspect-square text-white" />
3030
</span>
3131

3232
<style>

src/ui/svelte/VideoFetch.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
<!-- svelte-ignore a11y-click-events-have-key-events -->
9999
<!-- svelte-ignore a11y-no-static-element-interactions -->
100100
<div
101-
class="absolute inset-0 m-auto flex size-1/2 items-center justify-center text-white opacity-60"
101+
class="size-1/2 absolute inset-0 m-auto flex items-center justify-center text-white opacity-60"
102102
on:click|stopPropagation|preventDefault={togglePlay}
103103
>
104104
<!-- Play icon -->

src/ui/vue/IconBouncingArrowRight.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const props = defineProps<{
2828
: undefined),
2929
}"
3030
>
31-
<IconArrowRight class="aspect-square size-full text-white" />
31+
<IconArrowRight class="size-full aspect-square text-white" />
3232
</span>
3333
</template>
3434

src/ui/vue/VideoFetch.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ onMounted(async () => {
122122
<!-- Custom play/pause overlay (only if isControlled=true) -->
123123
<div
124124
v-if="isControlled"
125-
class="absolute inset-0 m-auto flex size-1/2 items-center justify-center text-white opacity-60"
125+
class="size-1/2 absolute inset-0 m-auto flex items-center justify-center text-white opacity-60"
126126
@click.stop.prevent="togglePlay"
127127
>
128128
<!-- Play icon -->

0 commit comments

Comments
 (0)