Allow dragging around notices

This commit is contained in:
Ajay
2023-12-22 10:44:21 -05:00
parent 2865ea77fe
commit 5ac19eecd4
3 changed files with 79 additions and 3 deletions

View File

@@ -120,7 +120,8 @@ class SubmissionNoticeComponent extends React.Component<SubmissionNoticeProps, S
{/* Sponsor Time List */}
<tr id={"sponsorSkipNoticeMiddleRow" + this.state.idSuffix}
className="sponsorTimeMessagesRow"
style={{maxHeight: (this.contentContainer().v.offsetHeight - 200) + "px"}}>
style={{maxHeight: (this.contentContainer().v.offsetHeight - 200) + "px"}}
onMouseDown={(e) => e.stopPropagation()}>
<td style={{width: "100%"}}>
{this.getSponsorTimeMessages()}
</td>