Add word-breaking to text preview

This commit is contained in:
2024-05-29 17:13:56 +02:00
parent a55dfcebef
commit 4d43d5cfd0
2 changed files with 2 additions and 0 deletions

View File

@@ -119,6 +119,7 @@ const code = async file => {
overflow: hidden;
border: none;
font-size: 0.9em;
word-break: break-word;
}
.container > .md {
display: block;

View File

@@ -50,5 +50,6 @@ export const set_file = file => {
overflow: hidden;
border: none;
font-size: 0.9em;
word-break: break-word;
}
</style>