Skip to content

Commit

Permalink
fix: ChatGPTNextWeb#2981 full screen button not works
Browse files Browse the repository at this point in the history
  • Loading branch information
Yidadaa authored and chenzeyu committed Nov 8, 2023
1 parent 9aee7cd commit cf9afcb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/components/home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit cf9afcb

Please sign in to comment.