Skip to content

Commit

Permalink
fix(ResponsiveStyling): Show subset of heading at thin widths
Browse files Browse the repository at this point in the history
  • Loading branch information
timglaser committed Jun 19, 2020
1 parent 79dbb6d commit e81387d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,10 @@ const IndexPage = ({ pageContext }) => (
styles.gettingStartedHeading
)}
>
Get started in minutes
<div>
Get started{' '}
<span className={styles.getStartedTextFull}>in minutes</span>
</div>
<ExternalLink href="https://newrelic.com/signup?partner=Developer+Edition">
<button type="button">Create a free account</button>
</ExternalLink>
Expand Down
6 changes: 6 additions & 0 deletions src/pages/index.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,9 @@
.gettingStartedHeading {
margin-bottom: 4rem;
}

@media screen and (max-width: 980px) {
.getStartedTextFull {
display: none;
}
}

0 comments on commit e81387d

Please sign in to comment.