Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/theme/page-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default (options: Required<NuxtOptions['ui']>) => ({
},
reverse: {
true: {
wrapper: 'lg:order-last'
wrapper: 'order-last'
}
},
variant: {
Expand Down
4 changes: 2 additions & 2 deletions test/components/__snapshots__/PageCard-vue.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ exports[`PageCard > renders with orientation horizontal reverse correctly 1`] =
"<div data-orientation="horizontal" data-slot="root" class="relative flex rounded-lg bg-default ring ring-default">
<!--v-if-->
<div data-slot="container" class="relative flex flex-col flex-1 lg:grid gap-x-8 gap-y-4 p-4 sm:p-6 lg:grid-cols-2 lg:items-center">
<div data-slot="wrapper" class="flex flex-col flex-1 items-start lg:order-last">
<div data-slot="wrapper" class="flex flex-col flex-1 items-start order-last">
<!--v-if-->
<div data-slot="leading" class="inline-flex items-center mb-2.5"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" viewBox="0 0 16 16" data-slot="leadingIcon" class="size-5 shrink-0 text-primary"></svg></div>
<div data-slot="body" class="flex-1">
Expand Down Expand Up @@ -386,7 +386,7 @@ exports[`PageCard > renders with orientation vertical reverse correctly 1`] = `
"<div data-orientation="vertical" data-slot="root" class="relative flex rounded-lg bg-default ring ring-default">
<!--v-if-->
<div data-slot="container" class="relative flex flex-col flex-1 lg:grid gap-x-8 gap-y-4 p-4 sm:p-6">
<div data-slot="wrapper" class="flex flex-col flex-1 items-start lg:order-last">
<div data-slot="wrapper" class="flex flex-col flex-1 items-start order-last">
<!--v-if-->
<div data-slot="leading" class="inline-flex items-center mb-2.5"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" width="1em" height="1em" viewBox="0 0 16 16" data-slot="leadingIcon" class="size-5 shrink-0 text-primary"></svg></div>
<div data-slot="body" class="flex-1">
Expand Down
4 changes: 2 additions & 2 deletions test/components/__snapshots__/PageCard.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ exports[`PageCard > renders with orientation horizontal reverse correctly 1`] =
"<div data-orientation="horizontal" data-slot="root" class="relative flex rounded-lg bg-default ring ring-default">
<!--v-if-->
<div data-slot="container" class="relative flex flex-col flex-1 lg:grid gap-x-8 gap-y-4 p-4 sm:p-6 lg:grid-cols-2 lg:items-center">
<div data-slot="wrapper" class="flex flex-col flex-1 items-start lg:order-last">
<div data-slot="wrapper" class="flex flex-col flex-1 items-start order-last">
<!--v-if-->
<div data-slot="leading" class="inline-flex items-center mb-2.5"><span class="iconify i-lucide:house size-5 shrink-0 text-primary" aria-hidden="true" data-slot="leadingIcon"></span></div>
<div data-slot="body" class="flex-1">
Expand Down Expand Up @@ -386,7 +386,7 @@ exports[`PageCard > renders with orientation vertical reverse correctly 1`] = `
"<div data-orientation="vertical" data-slot="root" class="relative flex rounded-lg bg-default ring ring-default">
<!--v-if-->
<div data-slot="container" class="relative flex flex-col flex-1 lg:grid gap-x-8 gap-y-4 p-4 sm:p-6">
<div data-slot="wrapper" class="flex flex-col flex-1 items-start lg:order-last">
<div data-slot="wrapper" class="flex flex-col flex-1 items-start order-last">
<!--v-if-->
<div data-slot="leading" class="inline-flex items-center mb-2.5"><span class="iconify i-lucide:house size-5 shrink-0 text-primary" aria-hidden="true" data-slot="leadingIcon"></span></div>
<div data-slot="body" class="flex-1">
Expand Down
Loading