Skip to content

Commit

Permalink
Merge pull request ChatGPTNextWeb#2983 from Yidadaa/Yidadaa-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Yidadaa committed Oct 10, 2023
2 parents f21f922 + f54db69 commit f78008c
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 f78008c

Please sign in to comment.