Make the ide more full screen like

This commit is contained in:
Kurt Hutten
2021-03-21 15:30:27 +11:00
parent fef69917f5
commit ab394ed564
4 changed files with 26 additions and 22 deletions

View File

@@ -32,7 +32,7 @@ const IdeContainer = () => {
}
return (
<div id="cadhub-ide" className="h-screen">
<div id="cadhub-ide" className="flex-auto h-full">
<Mosaic
renderTile={(id, path) => (
<MosaicWindow path={path} title={id} className={id.toLowerCase()}>

View File

@@ -24,7 +24,7 @@ const IdeToolbarNew = () => {
return (
<IdeContext.Provider value={{ state, dispatch }}>
<div className="p-8 border-2">
<div className="h-full flex flex-col">
<nav className="flex">
{/* <button
onClick={() => setIdeType('openCascade')}

View File

@@ -95,7 +95,7 @@ const MainLayout = ({ children, shouldRemoveFooterInIde }) => {
}
}, [hash, client]) // complaining about not having addMessage, however adding it puts useEffect into a loop
return (
<div className="h-full">
<div>
<header id="cadhub-main-header">
<nav className="flex justify-between h-20 px-12 bg-gradient-to-r from-gray-900 to-indigo-900">
<ul className="flex items-center">

View File

@@ -5,27 +5,31 @@ import OutBound from 'src/components/OutBound'
const DevIdePage = () => {
return (
<MainLayout>
<Seo
title="new ide in development"
description="new ide in development"
lang="en-US"
/>
<div className="py-4 bg-pink-200">
<div className="mx-auto max-w-6xl">
Woah, woah. You shouldn't be here! We're still working on this. Since
you've seen it now, have a look what{' '}
<OutBound
className="text-pink-700"
to="https://github.com/Irev-Dev/cadhub/discussions/212"
>
we've got planned
</OutBound>
.
<div className="h-screen flex flex-col">
<MainLayout shouldRemoveFooterInIde>
<Seo
title="new ide in development"
description="new ide in development"
lang="en-US"
/>
<div className="py-4 bg-pink-200">
<div className="mx-auto max-w-6xl">
Woah, woah. You shouldn't be here! We're still working on this.
Since you've seen it now, have a look what{' '}
<OutBound
className="text-pink-700"
to="https://github.com/Irev-Dev/cadhub/discussions/212"
>
we've got planned
</OutBound>
.
</div>
</div>
</MainLayout>
<div className="flex-auto">
<IdeToolbar />
</div>
<IdeToolbar />
</MainLayout>
</div>
)
}