aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAjay Ramachandran <[email protected]>2020-04-14 00:31:47 -0400
committerAjay Ramachandran <[email protected]>2020-04-14 00:31:47 -0400
commit18c7be8161afaac9fc21ffff352993d26e7d66a3 (patch)
tree81b6baf10a8e592cf814d54455b8497dee4cd2b1
parent638439a67117048803e2f6957fadf89574b0d140 (diff)
downloadSponsorBlock-18c7be8161afaac9fc21ffff352993d26e7d66a3.tar.gz
SponsorBlock-18c7be8161afaac9fc21ffff352993d26e7d66a3.zip
Made submission notice max height dynamic
-rw-r--r--src/components/SubmissionNoticeComponent.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/SubmissionNoticeComponent.tsx b/src/components/SubmissionNoticeComponent.tsx
index 59a51114..153e63dc 100644
--- a/src/components/SubmissionNoticeComponent.tsx
+++ b/src/components/SubmissionNoticeComponent.tsx
@@ -60,7 +60,8 @@ class SubmissionNoticeComponent extends React.Component<SubmissionNoticeProps, S
{/* Sponsor Time List */}
<tr id={"sponsorSkipNoticeMiddleRow" + this.state.idSuffix}
- className="sponsorTimeMessagesRow">
+ className="sponsorTimeMessagesRow"
+ style={{maxHeight: (this.contentContainer().v.offsetHeight - 200) + "px"}}>
<td style={{width: "100%"}}>
{this.getSponsorTimeMessages()}
</td>