Raise z index of notice to be in front of endcards

This commit is contained in:
Ajay Ramachandran
2021-04-01 21:15:11 -04:00
parent a10d7c338c
commit edcda31db4
2 changed files with 2 additions and 2 deletions

View File

@@ -70,7 +70,7 @@ class NoticeComponent extends React.Component<NoticeProps, NoticeState> {
render(): React.ReactElement {
const noticeStyle: React.CSSProperties = {
zIndex: this.props.zIndex || (50 + this.amountOfPreviousNotices)
zIndex: this.props.zIndex || (1000 + this.amountOfPreviousNotices)
}
return (

View File

@@ -127,7 +127,7 @@ class SkipNoticeComponent extends React.Component<SkipNoticeProps, SkipNoticeSta
render(): React.ReactElement {
const noticeStyle: React.CSSProperties = {
zIndex: 1000 + this.amountOfPreviousNotices
zIndex: 1500 + this.amountOfPreviousNotices
}
if (this.contentContainer().onMobileYouTube) {
noticeStyle.bottom = "4em";