Made the submission notice scroll when too large

This commit is contained in:
Ajay Ramachandran
2020-04-13 21:48:55 -04:00
parent 0223aa8307
commit 9fafb9cf54
2 changed files with 10 additions and 2 deletions

View File

@@ -338,6 +338,13 @@ input::-webkit-inner-spin-button {
margin: 0;
}
.sponsorTimeMessagesRow {
max-height: 300px;
display: flex;
overflow: auto;
}
.sponsorTimeEdit {
font-size: 14px;

View File

@@ -57,8 +57,9 @@ class SubmissionNoticeComponent extends React.Component<SubmissionNoticeProps, S
{this.getMessageBoxes()}
{/* Sponsor Time List */}
<tr id={"sponsorSkipNoticeMiddleRow" + this.state.idSuffix}>
<td>
<tr id={"sponsorSkipNoticeMiddleRow" + this.state.idSuffix}
className="sponsorTimeMessagesRow">
<td style={{width: "100%"}}>
{this.getSponsorTimeMessages()}
</td>
</tr>