diff --git a/src/components/NoticeComponent.tsx b/src/components/NoticeComponent.tsx index cde3db60..7e8bbf61 100644 --- a/src/components/NoticeComponent.tsx +++ b/src/components/NoticeComponent.tsx @@ -67,50 +67,52 @@ class NoticeComponent extends React.Component { className={"sponsorSkipObject sponsorSkipNotice" + (this.props.fadeIn ? " sponsorSkipNoticeFadeIn" : "")} style={noticeStyle} onMouseEnter={this.pauseCountdown.bind(this)} - onMouseLeave={this.startCountdown.bind(this)}> + onMouseLeave={this.startCountdown.bind(this)}> + - {/* First row */} - - {/* Left column */} - - {/* Logo */} - - + {/* First row */} + + {/* Left column */} + + {/* Logo */} + + - - - {this.state.noticeTitle} - - - - {/* Right column */} - - - {/* Time left */} - {this.props.timed ? ( - - - {this.state.countdownText || (this.state.countdownTime + "s")} + + + {this.state.noticeTitle} - ) : ""} - + - {/* Close button */} - this.close()}> - - - + {/* Right column */} + + + {/* Time left */} + {this.props.timed ? ( + - {this.props.children} + {this.state.countdownText || (this.state.countdownTime + "s")} + + ) : ""} + - + {/* Close button */} + this.close()}> + + + + + {this.props.children} + + + ); }