Skip to content

Commit

Permalink
Merge pull request #63 from yoyurec/master
Browse files Browse the repository at this point in the history
  • Loading branch information
pengx17 authored Oct 27, 2022
2 parents 0d8a5f8 + 909ee6a commit bf58f6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function App(): JSX.Element {
usePreventFocus();
return (
<main
style={{ width: "100vw", height: "100vh" }}
style={{ width: "100vw", height: "100vh", webkitAppRegion: "drag" }}
className={`${themeMode}`}
>
<PageTabs />
Expand Down
1 change: 1 addition & 0 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ export function useAdaptMainUIStyle(show: boolean, tabsWidth?: number | null) {
height: shouldShow ? "28px" : "0px",
width: isHovering ? "100%" : tabsWidth + "px", // 10 is the width of the scrollbar
maxWidth: maxWidth + "px",
webkitAppRegion: "drag",
});
};
listener();
Expand Down

0 comments on commit bf58f6c

Please sign in to comment.