Use div instead of p

For the case that hashtags and mentions are present.
This commit is contained in:
erik 2024-05-29 14:31:16 +02:00
parent 643541f798
commit 9f253e4401

View file

@ -1,4 +1,4 @@
<section class="section post-container"> <section class="section MODE">
<article class="mastodon-post"> <article class="mastodon-post">
<header class="mastodon-post-header"> <header class="mastodon-post-header">
<img class="mastodon-post-avatar" src="AVATAR_URL"></img> <img class="mastodon-post-avatar" src="AVATAR_URL"></img>
@ -9,7 +9,7 @@
<time class="mastodon-post-date" datetime="DATETIME">TIME</time> <time class="mastodon-post-date" datetime="DATETIME">TIME</time>
</header> </header>
<section class="mastodon-post-content"> <section class="mastodon-post-content">
<p class="mastodon-post-text">POST_TEXT</p> <div class="mastodon-post-text">POST_TEXT</div>
</section> </section>
<footer class="mastodon-post-footer"><button class="footer-button replies"><svg xmlns="http://www.w3.org/2000/svg" <footer class="mastodon-post-footer"><button class="footer-button replies"><svg xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 23.999989 18.905102" fill="currentColor"> viewBox="0 0 23.999989 18.905102" fill="currentColor">