@greedyvegan
newsfeed item could have a container with selector withImage
or not.
<div class="container {% if config.showImage and image %} withImage {% endif %}">
{% if config.showImage and image %}
<div class="newsfeed-image" style="background-image: url({{image}})"></div>
{% endif %}
So you can specify your style for each case, withImage or not.
.MMM-anotherNewsFeed .module-content .container {
text-align: right;
...
}
.MMM-anotherNewsFeed .module-content .container.withImage {
text-align: left;
...
}
Image and contents are arranged by container’s display:flex
so you can reorder or justify with flex-related attributes.