forked from Kieran/zap.stream
fix: video content height for tablet
This commit is contained in:
parent
803d0910af
commit
954a875c10
@ -159,6 +159,8 @@ export function StreamPage() {
|
||||
document.querySelector(".video-content")?.clientHeight || 0;
|
||||
if (window.innerWidth <= 480) {
|
||||
setHeight(contentHeight - videoContentHeight);
|
||||
} else if (window.innerWidth <= 768) {
|
||||
setHeight(videoContentHeight);
|
||||
} else {
|
||||
setHeight(undefined);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user