Fix file preview content not breaking
This commit is contained in:
parent
a27d142b4b
commit
e4520d86c3
|
@ -82,11 +82,12 @@
|
|||
padding: 1.5rem 1px;
|
||||
|
||||
&.content {
|
||||
// foo
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
&.meta {
|
||||
grid-column-start: 3;
|
||||
overflow: hidden;
|
||||
|
||||
dl {
|
||||
margin: 0;
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
.file-preview {
|
||||
|
||||
code {
|
||||
overflow-wrap: break-word;
|
||||
word-wrap: break-word;
|
||||
word-break: break-all;
|
||||
line-height: 1.5rem;
|
||||
hyphens: none;
|
||||
}
|
||||
|
||||
img {
|
||||
|
|
Loading…
Reference in New Issue