Even more improvements #5

Merged
norbert.tretkowski merged 5 commits from max.lissowski/mastowall:for-pi2 into main 2023-11-25 10:21:12 +01:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 7acd5f4e38 - Show all commits

View file

@ -194,7 +194,7 @@ const updateCarousel = function(slides, posts) {
</div>
<hr>
<div class="row align-items-center vertical-align-center">
<div class="${post.media_attachments[0] ? `col-md-6` : `col-md-12`}"><div class="card-text" ${strip(postContent).length > 800 ? `style="font-size: 0.9em;"`: ``}>${postContent}</div></div>
<div class="${post.media_attachments[0] ? `col-md-6` : `col-md-12`}"><div class="card-text" ${strip(postContent).length > 700 ? `style="font-size: ${strip(postContent).length > 1000 ? `0.5`:`0.9`}em;"`: ``}>${postContent}</div></div>
${post.media_attachments[0] ? `<div class="col-md-6"><img src="${post.media_attachments[0].url}" class="card-img-bottom" align="center"> </div>` : ''}
</div>
<hr>

View file

@ -53,7 +53,7 @@
.carousel .card-text {
font-size: 1.6em;
overflow: hidden;
max-height: 60vh;
max-height: 50vh;
}
.card {