Skip to content

Commit 859ae56

Browse files
Merge pull request #7259 from saurabhraghuvanshii/meshery
fix: infinite scroll in meshery page
2 parents 09a7608 + 8103a00 commit 859ae56

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

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

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,17 @@ const FeaturesSectionWrapper = styled.section`
44
55
background-color: black;
66
transform: skew(0deg, -6deg);
7-
padding-bottom:5rem;
7+
padding-bottom: 5rem;
88
margin-bottom: 8rem;
99
overflow: hidden;
1010
position: relative;
11+
width: 100%;
12+
max-width: 100%;
13+
contain: layout style paint;
14+
transform-origin: center;
15+
z-index: 1;
16+
height: auto;
17+
isolate: isolate;
1118
.skw{
1219
display: grid;
1320
position: relative;
@@ -50,6 +57,8 @@ const FeaturesSectionWrapper = styled.section`
5057
transform: skew(0deg, 6deg);
5158
padding: 0 1rem 3rem;
5259
text-align: center;
60+
position: relative;
61+
z-index: 1;
5362
h1, h2, p {
5463
color: white;
5564
}
@@ -80,6 +89,7 @@ const FeaturesSectionWrapper = styled.section`
8089
.smp-section {
8190
margin: 3rem auto;
8291
max-width: 85%;
92+
overflow: hidden;
8393
8494
.smp-section-row {
8595
margin: 4rem 0;
@@ -100,8 +110,10 @@ const FeaturesSectionWrapper = styled.section`
100110
101111
.smp-section-caraousel {
102112
.slick-slider {
113+
max-height: 520px;
103114
.slick-list {
104115
max-width: 50rem;
116+
max-height: 520px;
105117
106118
.slick-slide {
107119
img {

src/sections/Meshery/meshery.style.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ const MesheryWrapper = styled.section`
44
position: relative;
55
z-index: 1;
66
overflow-x: hidden;
7+
display: flex;
8+
flex-direction: column;
9+
width: 100%;
10+
711
.info {
812
position: relative;
913
overflow: hidden;

0 commit comments

Comments
 (0)