fix(activity-detail): preserve line breaks in activity descriptions #22

Merged
McPringle merged 1 commit from 21-preserve-linebreaks into main 2026-04-29 09:18:54 +02:00
2 changed files with 6 additions and 1 deletions

View file

@ -92,6 +92,11 @@ p,
letter-spacing: normal;
}
/* Preserve line-breaks */
.preserve-linebreaks {
white-space: pre-line;
}
/* Navigation */
.navbar {
background: linear-gradient(135deg, var(--dark-color) 0%, #2d0052 100%) !important;

View file

@ -53,7 +53,7 @@
<span id="activityVisibility"></span>
</span>
</p>
<p id="activityDescription" class="text-muted"></p>
<p id="activityDescription" class="preserve-linebreaks text-muted"></p>
</div>
<div class="btn-group" role="group" id="activityActions" style="display: none;">
<a href="#" id="editBtn" class="btn btn-outline-primary">