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 isAuth = location.pathname === Path.Auth;
|
||||
const isMobileScreen = useMobileScreen();
|
||||
const shouldTightBorder =
|
||||
config.tightBorder && !isMobileScreen && getClientConfig()?.isApp;
|
||||
const shouldTightBorder = getClientConfig()?.isApp || (config.tightBorder && !isMobileScreen);
|
||||
|
||||
useEffect(() => {
|
||||
loadAsyncGoogleFont();
|
||||
|
Loading…
Reference in New Issue
Block a user