Skip to content

Commit d8cedcd

Browse files
authored
Merge pull request #187 from SpaceyaTech/fix/scroll-upcoming-event-section
add scroll-bar
2 parents 54fd896 + 20ea68f commit d8cedcd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/APP/pages/landingPage/sections/OurEvents.jsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
/* eslint-disable import/no-unresolved */
33
/* eslint-disable import/extensions */
44
import React, { useEffect } from "react";
5+
import { LazyLoadImage } from "react-lazy-load-image-component";
56
import { Link } from "react-router-dom";
67

8+
import { error500svg } from "../../../../assets/images/errorPages";
79
import {
810
calculateDistanceToDate,
911
formatEventTime,
1012
startEventDate,
1113
} from "../../../../utilities/formatEventDate";
1214
import { Loader, Button } from "../../../components";
13-
import Error500 from "../../errorPages/Error500";
1415
import useTopEvents from "@/hooks/Queries/eventsSection/useTopEvents";
15-
import { LazyLoadImage } from "react-lazy-load-image-component";
16-
import { error500svg } from "../../../../assets/images/errorPages";
16+
1717
function OurEvents() {
1818
const {
1919
data: topEvents,
@@ -31,7 +31,7 @@ function OurEvents() {
3131
<section className="w-full max-w-1440 mx-auto flex-center flex-col gap-8 px-3 pt-2">
3232
<div className="flex-center gap-4 flex-col w-full max-w-2xl text-center">
3333
<h3 className="max-w-lg text-green-header text-center font-semibold text-xl md:text-3xl">
34-
You can’t spell community without meet-up{" "}
34+
You can’t spell community without meet-up
3535
</h3>
3636

3737
<p className="text-sm md:text-base font-normal">
@@ -73,8 +73,8 @@ function OurEvents() {
7373
)}
7474

7575
{isSuccess && (
76-
// <div className="py-4 flex flex-row md:flex-col gap-4 md:pr-8 overflow-x-scroll md:overflow-y-scroll h-full md:py-2 w-full md:w-1/2 scrollbar">
77-
<div className="w-full flex flex-row md:flex-col overflow-x-auto gap-4">
76+
<div className="py-4 flex flex-row md:flex-col gap-4 md:pr-8 overflow-x-scroll md:overflow-y-scroll h-full md:py-2 w-full md:w-1/2 scrollbar">
77+
{/* <div className="w-full flex flex-row md:flex-col overflow-x-auto gap-4"> */}
7878
{topEvents?.count === 0 ? (
7979
<p className="">No events found!</p>
8080
) : (

0 commit comments

Comments
 (0)