Fix file preview content not breaking

This commit is contained in:
Basti 2017-12-26 14:55:37 +01:00
parent a27d142b4b
commit e4520d86c3
2 changed files with 5 additions and 2 deletions

View File

@ -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;

View File

@ -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 {