Skip to content

Commit

Permalink
improved responsiveness
Browse files Browse the repository at this point in the history
  • Loading branch information
jhdcruz committed May 6, 2020
1 parent 6656024 commit 3c6f350
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/components/pages/NotePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,19 @@ import { dispatchNoteDetailFocusTitleInputEvent } from '../../lib/events'

export const StyledNoteDetailNoNote = styled.div`
text-align: center;
margin-top: 11%;
margin-top: 13%;
color: #a9a9a9;
img {
max-width: 100%;
width: 40%;
height: auto;
}
section {
margin: auto;
display: flex;
width: 50%;
width: 70%;
text-align: center;
div {
Expand Down Expand Up @@ -70,6 +71,14 @@ export const StyledNoteDetailNoNote = styled.div`
margin: 0;
font-weight: normal;
}
// Media Query
@media only screen and (max-width: 970px) {
section {
width: 100%;
display: block;
}
}
`

export type BreadCrumbs = {
Expand Down

0 comments on commit 3c6f350

Please sign in to comment.