Give textarea min-height in reply dialog

The textarea could get squeezed to an unusably small height, e.g. if
there were a lot of draft comments. This change also fixes some related
minor flexbox issues in the reply dialog.

Bug: Issue 4320
Change-Id: I35fde8379eac570385e29c45f271f177721f0b60
This commit is contained in:
Logan Hanks
2016-08-12 14:06:07 -07:00
parent 1cc8f03c16
commit 97282757ce

View File

@@ -49,6 +49,7 @@ limitations under the License.
padding: .5em .75em;
width: 100%;
}
.peopleContainer,
.labelsContainer,
.actionsContainer {
flex-shrink: 0;
@@ -67,7 +68,6 @@ limitations under the License.
}
gr-account-list {
display: flex;
flex: 1;
flex-wrap: wrap;
}
#reviewerConfirmationOverlay {
@@ -84,8 +84,10 @@ limitations under the License.
font-style: italic;
}
.textareaContainer {
position: relative;
display: flex;
flex: 1;
min-height: 6em;
position: relative;
}
iron-autogrow-textarea {
padding: 0;
@@ -125,6 +127,7 @@ limitations under the License.
background-color: #ddd;
}
.draftsContainer {
flex: 1;
overflow-y: auto;
}
.draftsContainer h3 {