mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-08 20:47:11 +03:00
Made submission notice max height dynamic
This commit is contained in:
@@ -60,7 +60,8 @@ class SubmissionNoticeComponent extends React.Component<SubmissionNoticeProps, S
|
|||||||
|
|
||||||
{/* Sponsor Time List */}
|
{/* Sponsor Time List */}
|
||||||
<tr id={"sponsorSkipNoticeMiddleRow" + this.state.idSuffix}
|
<tr id={"sponsorSkipNoticeMiddleRow" + this.state.idSuffix}
|
||||||
className="sponsorTimeMessagesRow">
|
className="sponsorTimeMessagesRow"
|
||||||
|
style={{maxHeight: (this.contentContainer().v.offsetHeight - 200) + "px"}}>
|
||||||
<td style={{width: "100%"}}>
|
<td style={{width: "100%"}}>
|
||||||
{this.getSponsorTimeMessages()}
|
{this.getSponsorTimeMessages()}
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user