Skip to content
This repository has been archived by the owner on Dec 8, 2023. It is now read-only.

Commit

Permalink
feat: NR3156 - fix for responsiveness on browsers
Browse files Browse the repository at this point in the history
  • Loading branch information
dikshab0202 committed May 2, 2022
1 parent 2381b29 commit 182de2c
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 3 deletions.
7 changes: 7 additions & 0 deletions src/components/LandingPageFooter.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ const LandingPageFooter = ({
margin-bottom: 34px !important;
}
}
@media not all and (min-resolution:.001dpcm) and max-width: 760px {
@media {
grid-template-columns: repeat(1, 1fr);
margin-left: 40px;
margin-right: 23px;
}}
`}>
<PageTools.Section>
<h6>
Expand Down
11 changes: 8 additions & 3 deletions src/components/QuickstartHowToUse.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,16 @@ const QuickstartHowToUse = ({
}
@media screen and (max-width: 760px){
display: grid;
grid-template-columns: repeat(1, 1fr);
margin-left: 40px;
margin-right: 23px;
}
@media not all and (min-resolution:.001dpcm) and max-width: 760px {
@media {
grid-template-columns: repeat(1, 1fr);
margin-left: 40px;
margin-right: 23px;
}}
`}>
<PageTools.Section>
<h3
Expand Down Expand Up @@ -126,7 +131,7 @@ const QuickstartHowToUse = ({
location={location}
css={css`
background: var(--background-color);
padding: 13px 20px 14px 20px;
padding: 18px 20px 18px 20px;
font-weight: 400;
`} />
</PageTools.Section>
Expand Down
7 changes: 7 additions & 0 deletions src/components/WhatsIncluded/Alerts.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ const Alerts = ({ quickstart }) => {
margin-left: 40px;
margin-right: 23px;
}
@media not all and (min-resolution:.001dpcm) and max-width: 760px {
@media {
grid-template-columns: repeat(1, 1fr);
margin-left: 40px;
margin-right: 23px;
}}
`}
>
<PageTools.Section>
Expand Down
7 changes: 7 additions & 0 deletions src/components/WhatsIncluded/Dashboards.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ const Dashboards = ({ quickstart }) => {
margin-right: 23px;
}
@media not all and (min-resolution:.001dpcm) and max-width: 760px {
@media {
grid-template-columns: repeat(1, 1fr);
margin-left: 40px;
margin-right: 23px;
}}
`}
>
<PageTools.Section>
Expand Down
7 changes: 7 additions & 0 deletions src/components/WhatsIncluded/DataSources.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ const DataSources = ({ quickstart }) => {
margin-left: 40px;
margin-right: 23px;
}
@media not all and (min-resolution:.001dpcm) and max-width: 760px {
@media {
grid-template-columns: repeat(1, 1fr);
margin-left: 40px;
margin-right: 23px;
}}
`}
>
<PageTools.Section>
Expand Down

0 comments on commit 182de2c

Please sign in to comment.