From 32d79494ad91ac812562e3008c70fea0a749734a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Mon, 27 Jan 2014 18:05:33 +0100 Subject: [PATCH] BUGFIX: limit the height of code blocks to 500px --- app/assets/stylesheets/desktop/code_highlighting.scss | 1 + app/assets/stylesheets/mobile/code_highlighting.scss | 1 + 2 files changed, 2 insertions(+) diff --git a/app/assets/stylesheets/desktop/code_highlighting.scss b/app/assets/stylesheets/desktop/code_highlighting.scss index 19ed340f15e..de15caf2105 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 19ed340f15e..de15caf2105 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;