From 58385dc491da2621dab917551ecba89c8f69f1b6 Mon Sep 17 00:00:00 2001 From: Franco Arza Date: Mon, 26 Oct 2020 18:28:09 -0300 Subject: [PATCH] improve the grid on mobile a bit --- components/product/ProductSlider/ProductSlider.module.css | 3 ++- pages/index.tsx | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/components/product/ProductSlider/ProductSlider.module.css b/components/product/ProductSlider/ProductSlider.module.css index c07228d0b..5ad48cc3d 100644 --- a/components/product/ProductSlider/ProductSlider.module.css +++ b/components/product/ProductSlider/ProductSlider.module.css @@ -48,7 +48,8 @@ @apply hidden; @screen sm { - @apply block absolute bottom-6 left-1/2 -translate-x-1/2 transform; + @apply block absolute bottom-6 left-1/2; + transform: translateX(-50%); } } diff --git a/pages/index.tsx b/pages/index.tsx index 44a93c1d7..9f374253b 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -129,9 +129,9 @@ export default function Home({ /> ))} -
-
-
+
+
+