autoland: set a max height on the commit confirmation dialog (
bug 1247569) r?dminor
djblet's modal box doesn't restrict the height of content to the window,
resulting in a dialog with unreadable content when there are a lot of commits.
Unfortunately fixing this correctly by bounding the dialog to the window isn't
possible with RB css, so we just cap the maximum height at 600px.
MozReview-Commit-ID: HlTCNztV8ci
--- a/pylib/mozreview/mozreview/static/mozreview/css/review.less
+++ b/pylib/mozreview/mozreview/static/mozreview/css/review.less
@@ -96,16 +96,21 @@ label[for="mozreview-autoland-try-syntax
margin-bottom: 1em;
#autoland-repo,
.autoland-commit-desc {
font-weight: bold;
margin-top: 1em;
}
+ #autoland-commits {
+ max-height: 600px;
+ overflow-y: auto;
+ }
+
.autoland-commit-rev {
font-family: monospace;
margin-right: 2ch;
}
.autoland-commit-warning {
color: red;
font-weight: bold;