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