diff --git a/app/assets/stylesheets/desktop/code_highlighting.scss b/app/assets/stylesheets/desktop/code_highlighting.scss index 19ed340f1..de15caf21 100644 --- a/app/assets/stylesheets/desktop/code_highlighting.scss +++ b/app/assets/stylesheets/desktop/code_highlighting.scss @@ -8,6 +8,7 @@ pre { background: #f1f1ff; font-size: 14px; font-family: Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif; + max-height: 500px; } .comment, .template_comment, .diff .header, .javadoc { color: #999988; diff --git a/app/assets/stylesheets/mobile/code_highlighting.scss b/app/assets/stylesheets/mobile/code_highlighting.scss index 19ed340f1..de15caf21 100644 --- a/app/assets/stylesheets/mobile/code_highlighting.scss +++ b/app/assets/stylesheets/mobile/code_highlighting.scss @@ -8,6 +8,7 @@ pre { background: #f1f1ff; font-size: 14px; font-family: Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif; + max-height: 500px; } .comment, .template_comment, .diff .header, .javadoc { color: #999988;