Skip to content

A platform for community discussion. Free, open, simple.

safety so pre blocks can't break modal width

Krisba7aff62db50
diff --git a/app/assets/stylesheets/common/base/modal.scss b/app/assets/stylesheets/common/base/modal.scss
index da6cf2519c2..ce3ff6ca87c 100644
--- a/app/assets/stylesheets/common/base/modal.scss
+++ b/app/assets/stylesheets/common/base/modal.scss
@@ -277,6 +277,7 @@
pre code {
white-space: pre-wrap;
+ max-width: 700px;
}
}