aboutsummaryrefslogtreecommitdiff
path: root/source/css
diff options
context:
space:
mode:
authorZhiming Wang <zmwangx@gmail.com>2016-04-10 12:07:24 -0700
committerZhiming Wang <zmwangx@gmail.com>2016-04-10 12:07:24 -0700
commitaca25404b45d779fe5b672c1b2e86347d20bd35e (patch)
treeccbe3a265959761792dfb0dae8546bca06917f4b /source/css
parent072546dfe76dd8e638fc11b1e181cbb82e8cdb13 (diff)
downloadmy_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?
Diffstat (limited to 'source/css')
-rw-r--r--source/css/theme.css2
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;
}