From 10c020de5684ff7a29df48fad9fe49e5f7fc5d11 Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Mon, 4 Jul 2022 16:40:34 +0500 Subject: [PATCH] fix featured image not showing in latest pen post for some reason images with the portrait class weren't displaying. they don't have display:none set on them. Might be caused by width of container --- themes/lumbung-theme/static/css/main.css | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/themes/lumbung-theme/static/css/main.css b/themes/lumbung-theme/static/css/main.css index 384123f..1fa9d9c 100644 --- a/themes/lumbung-theme/static/css/main.css +++ b/themes/lumbung-theme/static/css/main.css @@ -329,10 +329,10 @@ body > iframe { width: 100%; } -.portrait .h-entry img { +/* .portrait .h-entry img { max-width: unset; width: unset; -} +} */ .header-metadata .dt-published { padding: 0.5em 1.2em 0.5em 1.2em; @@ -444,7 +444,7 @@ footer.post-footer { } .network .p-summary.portrait { - flex-direction: row; + /* flex-direction: row; */ } .network .p-summary.landscape { @@ -578,7 +578,11 @@ div.network-source { } .pen .p-summary.portrait { - flex-direction: row; + /* flex-direction: row; */ + /* + * for some reason images on specific posts aren't appearing with the portrait class + */ + flex-direction: column; } .pen .p-summary.landscape {