mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
prettier
This commit is contained in:
@@ -51,7 +51,7 @@ export function Gallery({
|
||||
)}
|
||||
|
||||
{images.length > 1 ? (
|
||||
<div className="absolute flex flex-row h-12 text-white border border-white shadow-xl bottom-10 right-10 dark:border-black dark:text-black">
|
||||
<div className="absolute bottom-10 right-10 flex h-12 flex-row border border-white text-white shadow-xl dark:border-black dark:text-black">
|
||||
<button
|
||||
aria-label="Previous product image"
|
||||
className={clsx(buttonClassName, 'border-r border-white dark:border-black')}
|
||||
@@ -78,7 +78,7 @@ export function Gallery({
|
||||
<button
|
||||
aria-label="Enlarge product image"
|
||||
key={image.src}
|
||||
className="w-1/4 h-full"
|
||||
className="h-full w-1/4"
|
||||
onClick={() => setCurrentImage(index)}
|
||||
>
|
||||
<GridTileImage
|
||||
|
@@ -85,7 +85,7 @@ export function VariantSelector({
|
||||
|
||||
return options.map((option) => (
|
||||
<dl className="mb-8" key={option.id}>
|
||||
<dt className="mb-4 text-sm tracking-wide uppercase">{option.name}</dt>
|
||||
<dt className="mb-4 text-sm uppercase tracking-wide">{option.name}</dt>
|
||||
<dd className="flex flex-wrap gap-3">
|
||||
{option.values.map((value) => {
|
||||
// Base option params on selected variant params.
|
||||
|
Reference in New Issue
Block a user