summaryrefslogtreecommitdiffstats
path: root/web_src/less/_review.less
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/less/_review.less')
-rw-r--r--web_src/less/_review.less7
1 files changed, 7 insertions, 0 deletions
diff --git a/web_src/less/_review.less b/web_src/less/_review.less
index 1070ad7dde..ac9f57cfbe 100644
--- a/web_src/less/_review.less
+++ b/web_src/less/_review.less
@@ -197,6 +197,13 @@ a.blob-excerpt:hover {
color: #fff;
}
+// See the comment of createCommentEasyMDE() for the review editor
+// EasyMDE's options can not handle minHeight & maxHeight together correctly, we have to set minHeight in JS code
+#review-box .CodeMirror-scroll {
+ min-height: 80px;
+ max-height: calc(100vh - 360px);
+}
+
@media @mediaSm {
#review-box > .menu {
> .ui.segment {