improve styles
This commit is contained in:
parent
b7aba9c8de
commit
5f637dc4c7
@ -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} />} />
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user