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
This commit is contained in:
Aadil Ayub 2022-07-04 16:40:34 +05:00
parent 40f0d31d25
commit 10c020de56

View File

@ -329,10 +329,10 @@ body > iframe {
width: 100%; width: 100%;
} }
.portrait .h-entry img { /* .portrait .h-entry img {
max-width: unset; max-width: unset;
width: unset; width: unset;
} } */
.header-metadata .dt-published { .header-metadata .dt-published {
padding: 0.5em 1.2em 0.5em 1.2em; padding: 0.5em 1.2em 0.5em 1.2em;
@ -444,7 +444,7 @@ footer.post-footer {
} }
.network .p-summary.portrait { .network .p-summary.portrait {
flex-direction: row; /* flex-direction: row; */
} }
.network .p-summary.landscape { .network .p-summary.landscape {
@ -578,7 +578,11 @@ div.network-source {
} }
.pen .p-summary.portrait { .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 { .pen .p-summary.landscape {