Fix post images overflowing viewport on mobile

See #322
This commit is contained in:
John O'Nolan 2017-07-20 17:27:02 +04:00
parent 9aa6ff1716
commit 6c5d6af6d0
3 changed files with 7 additions and 2 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -701,6 +701,11 @@ The first (most recent) post in the list is styled to be bigger than the others
margin: 1.5em auto; margin: 1.5em auto;
max-width: 1040px; max-width: 1040px;
} }
@media (max-width: 1040px) {
.post-full-content img {
width: 100%;
}
}
/* /*
If an image url has #full on the end, give it special wide styles. If an image url has #full on the end, give it special wide styles.