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; margin: 0;
} }
.sponsorTimeMessagesRow {
max-height: 300px;
display: flex;
overflow: auto;
}
.sponsorTimeEdit { .sponsorTimeEdit {
font-size: 14px; font-size: 14px;

View File

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