Make reply dialog scrollable in desktop mode

Previously, the reply dialog was scrollable only on mobile. There were
cases, however, in which desktop users had content taller than the
space of the reply dialog. This change allows them to have scrollable
content as well.

Bug: Issue 7107
Change-Id: I039de14c9f6d657699b84b1bfdd2199ec7b64988
This commit is contained in:
Becky Siegel
2017-09-08 16:40:29 -07:00
parent 29dc3762b4
commit 71ffd0b1bb

View File

@@ -273,6 +273,9 @@ limitations under the License.
.patchSetSelect {
max-width: 8em;
}
.scrollable {
overflow: auto;
}
@media screen and (min-width: 80em) {
.commitMessage {
max-width: var(--commit-message-max-width, 100ch);
@@ -344,9 +347,6 @@ limitations under the License.
flex: initial;
margin-right: 0;
}
.scrollable {
overflow: auto;
}
/* Change actions are the only thing thant need to remain visible due
to the fact that they may have the currently visible overlay open. */
#mainContent.overlayOpen .hideOnMobileOverlay {