Skip to content

Commit 60d1cd4

Browse files
committed
Margin bottom mobile
1 parent e9db58b commit 60d1cd4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/components/Product/SingleProduct.component.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ import LoadingSpinner from '@/components/LoadingSpinner/LoadingSpinner.component
1212
const SingleProduct = ({ product }: IProductRootObject) => {
1313
const [isLoading, setIsLoading] = useState<boolean>(true);
1414
const [selectedVariation, setSelectedVariation] = useState<number>();
15+
16+
const placeholderFallBack = 'https://via.placeholder.com/600';
17+
1518
let DESCRIPTION_WITHOUT_HTML;
1619

1720
useEffect(() => {
@@ -44,10 +47,10 @@ const SingleProduct = ({ product }: IProductRootObject) => {
4447
).body.textContent;
4548
}
4649

47-
const placeholderFallBack = 'https://via.placeholder.com/600';
50+
4851

4952
return (
50-
<section className="py-8 bg-white">
53+
<section className="py-8 bg-white mb-12 sm:mb-2">
5154
{/* Show loading spinner while loading, and hide content while loading */}
5255
{isLoading ? (
5356
<div className="h-56 mt-20">

0 commit comments

Comments
 (0)