Skip to content

Commit

Permalink
fix swiper styles
Browse files Browse the repository at this point in the history
Signed-off-by: Sudhanshu Dasgupta <[email protected]>
  • Loading branch information
sudhanshutech committed Oct 4, 2024
1 parent 2b24e38 commit 8697b7a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/components/UpcomingEventCard/EventCard.style.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ const UpcomingEventsWrapper = styled.div`
overflow: auto;
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.swiper-wrapper{
height: 38rem
}
.blog-slider_img{
max-height: 25rem;
object-fit: cover;
Expand Down
2 changes: 1 addition & 1 deletion src/components/UpcomingEventCard/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const UpcomingEvents = ({ data }) => {
}} className="blog-slider__wrp swiper-wrapper">

<Swiper
spaceBetween={100}
spaceBetween={50}
slidesPerView={1}
modules={[Mousewheel, Pagination]}
pagination={{ clickable: true }}
Expand Down
2 changes: 1 addition & 1 deletion src/sections/Learn/Service-Mesh-Labs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const ServiceMeshLabs = ({ selectedIndex, setSelectedIndex }) => {
</TabList>
{data.map(({ id, courseLink, scenarios }) => (
<TabPanel className="content" key={id}>
<Row className="row-wrapper">
<Row style={{ flexDirection: "column" }} className="row-wrapper">
{scenarios.map(({ subId, title, cover, info, embed, link }) => (
<Col {...content && ID === subId ? { xs: 12, sm: 12, lg: 12 } : { xs: 12, sm: 6 }} key={subId}>
<ScenarioCard
Expand Down

0 comments on commit 8697b7a

Please sign in to comment.