fixed mobile ui overflowing

This commit is contained in:
t1enne
2022-10-13 20:13:37 +02:00
parent 5eebb10fe6
commit ecfb4a4c53
5 changed files with 22 additions and 15 deletions

View File

@@ -1,7 +1,7 @@
import { useRecoilState, useRecoilValue } from 'recoil';
import { Layout, Tabs, Spin } from 'antd';
import { FC, useEffect, useState } from 'react';
import classNames from 'classnames';
import cn from 'classnames';
import dynamic from 'next/dynamic';
import { LOCAL_STORAGE_KEYS, getLocalStorage, setLocalStorage } from '../../../utils/localStorage';
@@ -132,7 +132,7 @@ const MobileContent = ({
];
return (
<div className={classNames(styles.lowerSectionMobile)}>
<div className={cn(styles.lowerSectionMobile)}>
<Tabs defaultActiveKey="0" items={items} />
</div>
);
@@ -215,7 +215,7 @@ export const Content: FC = () => {
<div className={styles.main}>
<Spin wrapperClassName={styles.loadingSpinner} size="large" spinning={appState.appLoading}>
<AntContent className={styles.root}>
<div className={styles.leftContent}>
<div className={styles.mainSection}>
<div className={styles.topSection}>
{online && <OwncastPlayer source="/hls/stream.m3u8" online={online} />}
{!online && !appState.appLoading && (