forked from XiaoMo/ChatGPT-Next-Web
fix: #2981 full screen button not works
This commit is contained in:
parent
f21f922160
commit
f54db695af
@ -128,8 +128,7 @@ function Screen() {
|
|||||||
const isHome = location.pathname === Path.Home;
|
const isHome = location.pathname === Path.Home;
|
||||||
const isAuth = location.pathname === Path.Auth;
|
const isAuth = location.pathname === Path.Auth;
|
||||||
const isMobileScreen = useMobileScreen();
|
const isMobileScreen = useMobileScreen();
|
||||||
const shouldTightBorder =
|
const shouldTightBorder = getClientConfig()?.isApp || (config.tightBorder && !isMobileScreen);
|
||||||
config.tightBorder && !isMobileScreen && getClientConfig()?.isApp;
|
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
loadAsyncGoogleFont();
|
loadAsyncGoogleFont();
|
||||||
|
Loading…
Reference in New Issue
Block a user