Skip to content

Commit

Permalink
fix: first pass [STRY-70]
Browse files Browse the repository at this point in the history
  • Loading branch information
val-l-hosler committed Feb 22, 2024
1 parent 9daca60 commit 47a5214
Show file tree
Hide file tree
Showing 22 changed files with 258 additions and 35 deletions.
57 changes: 57 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions .idea/sonarlint/issuestore/index.pb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
11 changes: 11 additions & 0 deletions .idea/sonarlint/securityhotspotstore/index.pb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

90 changes: 90 additions & 0 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/wpds-ui-kit.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 7 additions & 5 deletions build.washingtonpost.com/components/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const CommunityHeading = styled("span", {
fontWeight: "$bold",
fontSize: "$087",
color: "$gray40",
"@notSm": {
"@media (min-width:851px)": {
display: "none",
},
});
Expand Down Expand Up @@ -40,7 +40,7 @@ const EditInGithub = styled("a", {
"&:hover": {
textDecoration: "underline",
},
"@sm": {
"@media (max-width:850px)": {
marginLeft: "$100",
},
});
Expand All @@ -59,7 +59,7 @@ export const Footer = () => {
maxWidth: "1028px",
width: "100%",

"@sm": {
"@media (max-width:850px)": {
marginTop: "$200",
"footer.site-footer": {
display: "none",
Expand All @@ -80,7 +80,9 @@ export const Footer = () => {
Edit this page on GitHub.
</EditInGithub>
)}
<Box css={{"@media (max-width:850px)": {px: "$100"}, "@sm": {px: 0}}}>
<SiteFooter />
</Box>
<Box
css={{
display: "flex",
Expand All @@ -93,7 +95,7 @@ export const Footer = () => {
"& a": {
marginRight: "$100",
},
"@notSm": {
"@media (min-width:851px)": {
justifyContent: "center",
},
}}
Expand All @@ -102,7 +104,7 @@ export const Footer = () => {
css={{
display: "flex",
flexDirection: "column",
"@notSm": {
"@media (min-width:851px)": {
flexDirection: "row",
},
}}
Expand Down
14 changes: 7 additions & 7 deletions build.washingtonpost.com/components/Layout/Components/Sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ import { Change } from "~/components/Markdown/Styling";

const StyledAccordionRoot = styled(Accordion.Root, {
backgroundColor: theme.colors.gray500,
"@sm": {
"@media (max-width:850px)": {
marginBottom: "0",
},
});

const Panel = styled("div", {
paddingBottom: "$100",
"@notSm": {
"@media (min-width:851px)": {
position: "fixed",
height: "100%",
},
"@sm": {
"@media (max-width:850px)": {
width: "100%",
},
});
Expand All @@ -41,10 +41,10 @@ const Container = styled("div", {
},

"@md": { marginTop: "0" },
"@notSm": {
"@media (min-width:851px)": {
width: "300px",
},
"@sm": {
"@media (max-width:850px)": {
paddingBottom: 0,
},
});
Expand All @@ -53,7 +53,7 @@ const AccordionHeader = styled(Accordion.Header, {
width: "100%",
justifySelf: "flex-start",
marginBlock: 0,
"@sm": {
"@media (max-width:850px)": {
cursor: "pointer",
},
});
Expand Down Expand Up @@ -303,7 +303,7 @@ export default function Sidebar({ navigation, setMobileMenu }) {
})}
<SideBarList>
<ListItem
css={{ "@notSm": { display: "none" } }}
css={{ "@media (min-width:851px)": { display: "none" } }}
onClick={() => setMobileMenu(false)}
isCurrent={router.asPath.includes("release-notes") ? "active" : ""}
>
Expand Down
14 changes: 7 additions & 7 deletions build.washingtonpost.com/components/Layout/Layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { ToastContainer } from "react-toastify";
const Grid = styled("div", {
display: "grid",
margin: "0 auto",
"@notSm": {
"@media (min-width:851px)": {
gridTemplateColumns: "300px 1fr",
gridTemplateRows: "60px 1fr",
gridTemplateAreas: `
Expand All @@ -20,7 +20,7 @@ const Grid = styled("div", {
rowGap: "0",
paddingRight: "$100",
},
"@sm": {
"@media (max-width:850px)": {
minHeight: "100vh",
gridTemplateColumns: "1fr",
gridTemplateRows: "auto auto 1fr",
Expand All @@ -41,7 +41,7 @@ const DesktopMenu = styled("div", {
variants: {
state: {
open: { display: "block" },
closed: { "@sm": { display: "none" } },
closed: { "@media (max-width:850px)": { display: "none" } },
},
},
});
Expand All @@ -51,12 +51,12 @@ const Container = styled("main", {
width: "100%",
margin: "0 auto",
marginTop: "$125",
"@sm": {
padding: "0 $100",
},
"@notSm": {
"@media (min-width:851px)": {
maxWidth: "1028px",
},
"@media (max-width:850px)": {
padding: "0 $100",
},
});

export const PageLayout = ({ children, ...pageProps }) => {
Expand Down

0 comments on commit 47a5214

Please sign in to comment.