Skip to content

Commit 4c04860

Browse files
bechiratierant
authored andcommitted
Remove horizontal scroller in source code modal
1 parent 9758c24 commit 4c04860

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

assets/styles/app.scss

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,14 @@ footer #footer-resources i {
255255

256256
#sourceCodeModal pre {
257257
margin-bottom: 2em;
258-
padding: 0
258+
padding: 0;
259+
display: block;
260+
word-break: break-all;
261+
word-wrap: break-word;
262+
263+
code {
264+
white-space: pre-wrap;
265+
}
259266
}
260267

261268
#confirmationModal .modal-dialog {

0 commit comments

Comments
 (0)