Skip to content

Commit 7c15014

Browse files
committed
🐛 去除窗口角落的白边
1 parent e407819 commit 7c15014

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/pages/_app.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ export default function App() {
211211

212212
return (
213213
<div
214-
className={cn("relative h-full w-full rounded-xl text-white shadow-2xl ring", {
214+
className={cn("relative h-full w-full", {
215215
"bg-settings-page-bg": isMobile || location.pathname !== "/",
216216
})}
217217
style={{ zoom: appScale }}
@@ -305,7 +305,7 @@ export default function App() {
305305
{/* 中间标题 */}
306306
{useNativeTitleBar || isWeb ? (
307307
// h-0 才能完全摆脱划线时经过此区域的卡顿问题
308-
<div className="pointer-events-none h-0 flex-1 ring"></div>
308+
<div className="pointer-events-none h-0 flex-1"></div>
309309
) : (
310310
<>
311311
<Button

0 commit comments

Comments
 (0)