Skip to content

Commit e33343d

Browse files
fix: infinit scroll by removing percentage based
Signed-off-by: saurabhraghuvanshii <saurabhsraghuvanshi@gmail.com>
1 parent dce1195 commit e33343d

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

src/sections/Meshery/Features-section/features-section.style.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ const FeaturesSectionWrapper = styled.section`
55
background-color: black;
66
transform: skew(0deg, -6deg);
77
padding-bottom:5rem;
8-
margin-bottom: 10%;
8+
margin-bottom: 8rem;
9+
overflow: hidden;
10+
position: relative;
911
.skw{
1012
display: grid;
1113
position: relative;
@@ -164,6 +166,7 @@ const FeaturesSectionWrapper = styled.section`
164166
165167
@media screen and (max-width: 1200px) {
166168
padding-bottom: 2rem;
169+
margin-bottom: 6rem;
167170
168171
.smp-section {
169172
.smp-section-row {
@@ -191,6 +194,7 @@ const FeaturesSectionWrapper = styled.section`
191194
192195
@media screen and (max-width: 960px) {
193196
padding-bottom: 0rem;
197+
margin-bottom: 4rem;
194198
.smp-section .smp-section-caraousel .slick-slider .slick-list {
195199
.slick-slide {
196200
img {

src/sections/Meshery/meshery.style.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import styled from "styled-components";
33
const MesheryWrapper = styled.section`
44
position: relative;
55
z-index: 1;
6+
overflow-x: hidden;
67
.info {
78
position: relative;
89
overflow: hidden;

0 commit comments

Comments
 (0)