Set max-width on review-box comment box (#10348)

tokarchuk/v1.17
zeripath 5 years ago committed by GitHub
parent 530f8963f3
commit 9f1f2e6675
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 22
      web_src/less/_review.less

@ -142,4 +142,26 @@
overflow-x: auto;
}
}
#review-box .CodeMirror-scroll {
max-width: calc(100vw - 70px);
}
}
@media only screen and (min-width: 768px) and (max-width: 992px) {
#review-box .CodeMirror-scroll {
max-width: 700px;
}
}
@media only screen and (min-width: 992px) and (max-width: 1200px) {
#review-box .CodeMirror-scroll {
max-width: 800px;
}
}
@media only screen and (min-width: 1200px) {
#review-box .CodeMirror-scroll {
max-width: 900px;
}
}

Loading…
Cancel
Save