mirror of
https://github.com/yanislav-igonin/micrach
synced 2024-12-22 22:32:33 +03:00
fix: word wrap for multiline posts
This commit is contained in:
parent
0c0969ddcb
commit
86bd536f42
@ -19,3 +19,7 @@
|
|||||||
.line-break {
|
.line-break {
|
||||||
white-space: pre-line;
|
white-space: pre-line;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.word-wrap {
|
||||||
|
word-break: break-word;
|
||||||
|
}
|
@ -46,7 +46,7 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<div class="p-2">
|
<div class="p-2">
|
||||||
<p class="card-text line-break">{{$Post.Text}}</p>
|
<p class="card-text line-break word-wrap">{{$Post.Text}}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user