Skip to content

Commit

Permalink
fix: allow view toggle to work on mobile
Browse files Browse the repository at this point in the history
A div was overflowing on the mobile layout and covering the toggle. This
hides that overflow on a screen size less than 1180px.
  • Loading branch information
aswanson-nr committed Sep 16, 2021
1 parent 4dca1b3 commit fc081f0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/pages/instant-observability.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ const QuickstartsPage = ({ data, location }) => {
@media screen and (max-width: 760px) {
display: block;
position: relative;
overflow: hidden;
width: 100%;
height: 100%;
}
Expand Down Expand Up @@ -410,6 +411,10 @@ const QuickstartsPage = ({ data, location }) => {
css={css`
min-width: 155px;
margin-left: 20px;
@media screen and (max-width: 1180px) {
margin-left: 0px;
}
`}
>
<SegmentedControl
Expand Down

0 comments on commit fc081f0

Please sign in to comment.