mirror of
				https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
				synced 2025-11-04 16:23:41 +08:00 
			
		
		
		
	fix: #2981 full screen button not works
This commit is contained in:
		@@ -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();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user