Update main.css

fix media queries
This commit is contained in:
You-Wen Liang (Mark) 2017-07-25 23:55:16 +08:00 committed by GitHub
parent 5046b5022a
commit 0cdae11456
1 changed files with 2 additions and 2 deletions

View File

@ -678,7 +678,7 @@ tbody {
margin-bottom: -5px; margin-bottom: -5px;
} }
@media (max-width: 768px) { @media (max-device-width: 768px), (max-width: 768px) {
.description { .description {
margin: 0 auto 25px; margin: 0 auto 25px;
} }
@ -722,7 +722,7 @@ tbody {
} }
} }
@media (max-width: 520px) { @media (max-device-width: 520px), (max-width: 520px) {
.header { .header {
flex-direction: column; flex-direction: column;
justify-content: flex-start; justify-content: flex-start;