Skip to content

fix-layer5-maximum-width #6382

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/sections/Home/Banner-4/banner4.style.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import styled from "styled-components";

const Banner1SectionWrapper = styled.section`
display: none;
max-width: 1170px;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please avoid just adding a random width. This will not fix the issue but will be overhead as maintaining. I am sure this will again have issues in future because we are not fixing the root issue but just silently fixing it. Use like some width: 100%; and then set max or min width based on responsiveness or use flex container styles please

margin: 0 auto;
p {
font-size: 21px;
font-weight: 300;
Expand Down
5 changes: 2 additions & 3 deletions src/sections/Home/Playground-home/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ const ViewsSectionWrapper = styled.div`
display: flex;
align-items: center;
justify-content: center;

max-width: 1170px;
margin: 3% auto;
.small-card-container {
display: flex;
gap: 1rem;
Expand All @@ -48,9 +49,7 @@ const ViewsSectionWrapper = styled.div`
display: flex;
flex-direction: row;
background-color: ${(props) => props.theme.grey191919ToGreyF2F5F7};
margin: 3%;
border-radius: 1rem;
max-width: 1920px;
width: 90vw;
height: 500px;
justify-content: space-evenly;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export const HoneycombGrid = styled.div`
ul {
font-size: 0;
line-height: 0;
padding-right:0;
height: ${(props) => props.$height === 0 ? "unset" : `calc(${props.$height}px + 46px)`};
&:before {
content: "";
Expand All @@ -17,6 +18,9 @@ export const HoneycombGrid = styled.div`
#000 0 calc(1.732 * 150px + 4 * 3px - 1px)
);
}
@media (max-width: 768px) {
padding-right:50px;
}
}

li {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export const HoneycombGrid = styled.div`
`;

export const IntegrationsWrapper = styled.div`
max-width: 75rem;
max-width: 1170px;
margin: 5.1875rem auto;
text-align: center;
.seeAllBtn {
Expand Down
Loading