mirror of
https://github.com/yanislav-igonin/micrach
synced 2024-12-22 22:32:33 +03:00
feat: add line break for posts
This commit is contained in:
parent
21f804cafb
commit
a6daededbf
@ -16,5 +16,6 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.data-container {
|
.line-break {
|
||||||
|
white-space: pre-line;
|
||||||
}
|
}
|
@ -45,8 +45,8 @@
|
|||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<div class="data-container p-2">
|
<div class="p-2">
|
||||||
<p class="card-text">{{$Post.Text}}</p>
|
<p class="card-text line-break">{{$Post.Text}}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user