Fixing bullets offset.

This commit is contained in:
Dessalines 2023-11-01 22:32:17 -04:00
parent bd97a9337f
commit 651d0d7122

View file

@ -39,10 +39,10 @@ const carouselImages = [
]; ];
const CarouselBlock = () => ( const CarouselBlock = () => (
<div> <div className="px-8 mt-16">
<div class="glide p-8 space-x-8 rounded-box mt-16"> <div className="glide">
<div class="glide__track" data-glide-el="track"> <div className="glide__track" data-glide-el="track">
<ul class="glide__slides"> <ul className="glide__slides">
{carouselImages.map((image, i) => ( {carouselImages.map((image, i) => (
<img <img
src={image} src={image}
@ -55,7 +55,7 @@ const CarouselBlock = () => (
</ul> </ul>
</div> </div>
<div <div
className="glide__bullets flex justify-center w-full py-2 gap-4" className="glide__bullets flex justify-center py-2 gap-4"
data-glide-el="controls[nav]" data-glide-el="controls[nav]"
> >
{carouselImages.map((_, i) => ( {carouselImages.map((_, i) => (