Add word-breaking to text preview
This commit is contained in:
@@ -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;
|
||||||
|
@@ -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>
|
||||||
|
Reference in New Issue
Block a user