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; overflow: hidden;
border: none; border: none;
font-size: 0.9em; font-size: 0.9em;
word-break: break-word;
} }
.container > .md { .container > .md {
display: block; display: block;

View File

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