improve styles
This commit is contained in:
parent
b7aba9c8de
commit
5f637dc4c7
@ -83,7 +83,7 @@ const App: FC = observer(() => {
|
|||||||
))}
|
))}
|
||||||
</TabList>
|
</TabList>
|
||||||
</div>
|
</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>
|
<Routes>
|
||||||
{pages.map(({ path, element }, index) => (
|
{pages.map(({ path, element }, index) => (
|
||||||
<Route key={`${path}-${index}`} path={path} element={<LazyImportComponent lazyChildren={element} />} />
|
<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));
|
await GetPlatform().then(p => commonStore.setPlatform(p as Platform));
|
||||||
|
|
||||||
if (commonStore.platform !== 'web') {
|
if (commonStore.platform !== 'web') {
|
||||||
|
document.body.style.setProperty('overflow', 'hidden');
|
||||||
downloadProgramFiles();
|
downloadProgramFiles();
|
||||||
EventsOn('downloadList', (data) => {
|
EventsOn('downloadList', (data) => {
|
||||||
if (data)
|
if (data)
|
||||||
|
Loading…
Reference in New Issue
Block a user