mirror of
https://github.com/LemmyNet/joinlemmy-site.git
synced 2024-11-22 04:11:15 +00:00
Fixing bullets offset. (#265)
This commit is contained in:
parent
ad93bbf8a7
commit
15bd9d2844
1 changed files with 5 additions and 5 deletions
|
@ -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) => (
|
||||||
|
|
Loading…
Reference in a new issue