Skip to content
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

Fix: responsiveness issue#5693 #5724

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 5 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
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,8 @@ export const Blog = styled.div`
div.badge-grid > div {
max-width: 95%;
}
img.badge-modal{
max-width: 95%;
}
}
`;
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Earning Layer5 Badges is both exciting and achievable. As you continue to contri

<p>To share your badges on other social profiles, utilize the provided embedded code and direct share functionality. Access your badges from the Layer5 Cloud profile badges section, and then use it to post your achievements on social media platforms seamlessly. This enables you to showcase your Layer5 contributions and milestones to a wider audience.</p>

<h2 align="center" style="display:block;width:100%;">Layer5 Badges</h2>
<h2 align="center" style="display:block;width:100%;clear:right;">Layer5 Badges</h2>

<h3>Achievement Badges</h3>
<div class="badge-grid">
Expand Down
13 changes: 13 additions & 0 deletions src/components/Call-To-Actions/CTA_Bottom/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,19 @@ const CTA_BottomWrapper = styled.div`
button {
width: fit-content;
}

@media(max-width: 600px){
flex-direction: column-reverse;
height: auto;

img{
max-width: 95%;
}

.cta-content{
max-width: none;
}
}
`;

const defaultHeading = "Layer5 Community";
Expand Down
1 change: 1 addition & 0 deletions src/sections/app.style.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ h3 {
font-weight: 500;
@media (max-width: 62rem) {
font-size: 1.5rem;
text-align: center;
}
}

Expand Down