Skip to content

Commit

Permalink
chore: minor responsive style adjustments to main page title
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Jul 30, 2020
1 parent c76eca1 commit 04c4a32
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/components/PageLayout/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const Header = ({ title, children }) => (
align-items: center;
justify-content: space-between;
border-bottom: 1px solid var(--divider-color);
padding-bottom: 1rem;
@media screen and (max-width: 1080px) {
flex-direction: column;
Expand All @@ -23,6 +24,14 @@ const Header = ({ title, children }) => (
font-size: 2.5rem;
font-weight: normal;
margin-bottom: 0;
line-height: 1;
${children &&
css`
@media screen and (max-width: 1080px) {
margin-bottom: 0.5rem;
}
`}
`}
>
{title}
Expand Down

0 comments on commit 04c4a32

Please sign in to comment.