FIX: makes large images in polls responsive

This commit is contained in:
Joe 2018-07-01 13:20:00 +08:00 committed by GitHub
parent 212f518cd1
commit 27c018e75c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -29,6 +29,11 @@ div.poll {
padding: 0.5em 0.7em 0.7em 0.5em; padding: 0.5em 0.7em 0.7em 0.5em;
} }
img {
max-width: 100% !important; /* needed to override internal styles */
height: auto;
}
.button { .button {
display: inline-block; display: inline-block;
padding: 6px 12px; padding: 6px 12px;