mirror of
https://github.com/artegoser/AnoPaper.git
synced 2024-11-06 04:53:56 +03:00
fix: word breaking
This commit is contained in:
parent
7b4718c8de
commit
90914ea9f0
3 changed files with 3 additions and 3 deletions
|
@ -53,7 +53,7 @@ function CreateNote() {
|
||||||
></textarea>
|
></textarea>
|
||||||
|
|
||||||
{preview && (
|
{preview && (
|
||||||
<div className="w-full md">
|
<div className="w-full md break-words">
|
||||||
<ReactMarkdown>{text}</ReactMarkdown>
|
<ReactMarkdown>{text}</ReactMarkdown>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
|
@ -30,7 +30,7 @@ function Note() {
|
||||||
{printDate(note.time)}
|
{printDate(note.time)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="w-full md">
|
<div className="w-full md break-words">
|
||||||
<ReactMarkdown>{note.text}</ReactMarkdown>
|
<ReactMarkdown>{note.text}</ReactMarkdown>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -54,7 +54,7 @@ function PubNote() {
|
||||||
{printDate(note?.time || Date.now())}
|
{printDate(note?.time || Date.now())}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="w-full md">
|
<div className="w-full md break-words">
|
||||||
<ReactMarkdown>{note?.text || "Загрузка..."}</ReactMarkdown>
|
<ReactMarkdown>{note?.text || "Загрузка..."}</ReactMarkdown>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue