reduce height on draggable-top and only render it on macos (#942)

* reduce height on draggable-top and only render it on macos

* move drag bar out of app and into bootstrap

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton authored and GitHub committed 2020-09-23 08:57:34 -04:00
1 parent 7f6ae6e8c3
commit 2f53e76060
3 files changed
+17 -13

No files matched your search

+4 -1
View File
@@ -31,7 +31,10 @@ export async function bootstrap(App: AppComponent) {
if (App.init) {
await App.init();
}
render(<App/>, rootElem);
render(<>
{isMac && <div id="draggable-top" />}
<App />
</>, rootElem);
}
// run