浏览代码

修改界面

似乎这里引入了一个逻辑判断错误,会导致打包之后的界面变宽变高。
Kong Gaowen 1 年之前
父节点
当前提交
bdb49b1171
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/components/home.tsx

+ 1 - 1
app/components/home.tsx

@@ -129,7 +129,7 @@ function Screen() {
   const isAuth = location.pathname === Path.Auth;
   const isMobileScreen = useMobileScreen();
   const shouldTightBorder =
-    config.tightBorder && !isMobileScreen && !getClientConfig()?.isApp;
+    config.tightBorder && !isMobileScreen && getClientConfig()?.isApp;
 
   useEffect(() => {
     loadAsyncGoogleFont();