Skip to content

Commit

Permalink
Add floating card design for plots and database editor
Browse files Browse the repository at this point in the history
  • Loading branch information
reyery committed Sep 16, 2024
1 parent ed9614a commit dec1a39
Showing 1 changed file with 30 additions and 4 deletions.
34 changes: 30 additions & 4 deletions src/containers/HomePage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,41 @@ const HomePageContent = () => {
</Route>
<Route path={routes.DASHBOARD}>
<Suspense>
<Cardwrapper>
<Dashboard />
<Cardwrapper style={{ backgroundColor: '#D4DADC' }}>
<div
style={{
height: '100%',
overflow: 'auto',
background: '#fff',
borderRadius: 8,
border: '1px solid #eee',

padding: 12,
boxSizing: 'border-box',
}}
>
<Dashboard />
</div>
</Cardwrapper>
</Suspense>
</Route>
<Route path={routes.DATABASE_EDITOR}>
<Suspense>
<Cardwrapper>
<DatabaseEditor />
<Cardwrapper style={{ backgroundColor: '#D4DADC' }}>
<div
style={{
height: '100%',
overflow: 'auto',
background: '#fff',
borderRadius: 8,
border: '1px solid #eee',

padding: 24,
boxSizing: 'border-box',
}}
>
<DatabaseEditor />
</div>
</Cardwrapper>
</Suspense>
</Route>
Expand Down

0 comments on commit dec1a39

Please sign in to comment.