From 9bd7bae4fabec85504d1c0595c0707261be70010 Mon Sep 17 00:00:00 2001 From: Bobby Date: Sun, 11 Jun 2023 17:30:30 -0400 Subject: Fix Article image max-height on Phones --- static/css/phone_compatibility.css | 1 - static/css/styles.css | 6 +++++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'static') diff --git a/static/css/phone_compatibility.css b/static/css/phone_compatibility.css index 6f754d01..3bf27e48 100644 --- a/static/css/phone_compatibility.css +++ b/static/css/phone_compatibility.css @@ -203,7 +203,6 @@ I am not sure yet. #article-body img { width: 100% !important; height: auto !important; - max-height: auto !important; margin: 15px 0 !important; float: none !important; } diff --git a/static/css/styles.css b/static/css/styles.css index 5bec1046..95e597bf 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -387,7 +387,6 @@ blockquote { float: left; margin: 5px 11px 5px 0px; max-width: 710px; - max-height: 300px; } #article-body img.block, @@ -490,4 +489,9 @@ blockquote { .post-body { line-height: 15px; } + + #article-body img, + #editor-container img { + max-height: 300px; + } } \ No newline at end of file -- cgit v1.2.3