Skip to content

Commit

Permalink
improve styles
Browse files Browse the repository at this point in the history
  • Loading branch information
josStorer committed Mar 26, 2024
1 parent b7aba9c commit 5f637dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const App: FC = observer(() => {
))}
</TabList>
</div>
<div className="h-full w-full p-2 box-border overflow-y-hidden">
<div className="h-full w-full py-2 pr-2 box-border overflow-y-hidden">
<Routes>
{pages.map(({ path, element }, index) => (
<Route key={`${path}-${index}`} path={path} element={<LazyImportComponent lazyChildren={element} />} />
Expand Down
1 change: 1 addition & 0 deletions frontend/src/startup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export async function startup() {
await GetPlatform().then(p => commonStore.setPlatform(p as Platform));

if (commonStore.platform !== 'web') {
document.body.style.setProperty('overflow', 'hidden');
downloadProgramFiles();
EventsOn('downloadList', (data) => {
if (data)
Expand Down

0 comments on commit 5f637dc

Please sign in to comment.