diff options
author | Zhiming Wang <zmwangx@gmail.com> | 2016-04-10 12:07:24 -0700 |
---|---|---|
committer | Zhiming Wang <zmwangx@gmail.com> | 2016-04-10 12:07:24 -0700 |
commit | aca25404b45d779fe5b672c1b2e86347d20bd35e (patch) | |
tree | ccbe3a265959761792dfb0dae8546bca06917f4b | |
parent | 072546dfe76dd8e638fc11b1e181cbb82e8cdb13 (diff) | |
download | my_new_personal_website-aca25404b45d779fe5b672c1b2e86347d20bd35e.tar.xz my_new_personal_website-aca25404b45d779fe5b672c1b2e86347d20bd35e.zip |
theme.css: Remove max-width and max-height restrictions on img
Sometimes I have long images, e.g., in
http://zmwangx.github.io/blog/2016-04-10-emacss-got-a-redesigned-website.html,
and the image would be vertically compressed in Safari. I could switch
from width to max-width, but why restrict to screen height?
-rw-r--r-- | source/css/theme.css | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/css/theme.css b/source/css/theme.css index 31052909..dc2860fd 100644 --- a/source/css/theme.css +++ b/source/css/theme.css @@ -161,8 +161,6 @@ blockquote { img { display: block; - max-width: 100%; - max-height: 100%; margin: 5px auto; } |