mirror of
https://github.com/vercel/commerce.git
synced 2025-05-18 07:26:59 +00:00
Latest Updates
This commit is contained in:
parent
9b5f72f110
commit
191a401ea6
@ -1,7 +1,3 @@
|
|||||||
.root {
|
|
||||||
@apply h-full flex flex-col relative w-full relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fieldset {
|
.fieldset {
|
||||||
@apply flex flex-col my-3;
|
@apply flex flex-col my-3;
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
.root {
|
|
||||||
@apply h-full flex flex-col relative w-full relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fieldset {
|
.fieldset {
|
||||||
@apply flex flex-col my-3;
|
@apply flex flex-col my-3;
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
.root {
|
.root {
|
||||||
@apply relative h-full flex flex-col w-full;
|
@apply relative h-full flex flex-col w-full;
|
||||||
|
min-width: 400px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header {
|
.header {
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
.actions {
|
.actions {
|
||||||
@apply flex p-1 border-accent-2 border items-center justify-center w-12 text-accent-7;
|
@apply flex p-1 border-accent-2 border items-center justify-center
|
||||||
|
w-12 text-accent-7;
|
||||||
transition-property: border-color, background, color, transform, box-shadow;
|
transition-property: border-color, background, color, transform, box-shadow;
|
||||||
|
|
||||||
transition-duration: 0.15s;
|
transition-duration: 0.15s;
|
||||||
transition-timing-function: ease;
|
transition-timing-function: ease;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
@ -21,6 +23,5 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.input {
|
.input {
|
||||||
@apply bg-transparent px-4 w-full h-full focus:outline-none;
|
@apply bg-transparent px-4 w-full h-full focus:outline-none select-none pointer-events-auto;
|
||||||
user-select: none;
|
|
||||||
}
|
}
|
||||||
|
@ -23,7 +23,6 @@ export async function getStaticProps({
|
|||||||
config,
|
config,
|
||||||
preview,
|
preview,
|
||||||
})
|
})
|
||||||
console.log(product?.variants[0])
|
|
||||||
|
|
||||||
const { products: relatedProducts } = await commerce.getAllProducts({
|
const { products: relatedProducts } = await commerce.getAllProducts({
|
||||||
variables: { first: 4 },
|
variables: { first: 4 },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user