Skip to content

Commit

Permalink
style: fixed height for footer
Browse files Browse the repository at this point in the history
  • Loading branch information
mheggelund committed Sep 20, 2023
1 parent 3192f86 commit 8abd017
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/components/Table.styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ export const StyledDiv = styled.div`
> .table-wrapper {
> table {
width: auto !important;
margin: 0px !important;
}
> div {
Expand Down
9 changes: 7 additions & 2 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ body {
box-sizing: inherit;
}

#root {
height: 100vh;
}

code {
font-family: 'Equinor Mono', source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
}
font-family: 'Equinor Mono', source-code-pro, Menlo, Monaco, Consolas,
'Courier New', monospace;
}
3 changes: 2 additions & 1 deletion src/router.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { createBrowserRouter, NonIndexRouteObject } from 'react-router-dom'
import { App } from './App'
import { ModelView } from './features/ModelView/ModelView'
import { Api } from './pages/Api/Api'
import { Browse } from './pages/Browse/Browse'
import { Compute } from './pages/ModelPages/Compute/Compute'
import { Model } from './pages/ModelPages/Model/Model'
Expand All @@ -18,7 +19,7 @@ const tabs: Tab[] = [
path: 'models',
element: <Browse />,
},
{ title: 'API', path: 'api', element: <NotImplemented /> },
{ title: 'API', path: 'api', element: <Api /> },
{ title: 'About', path: 'about', element: <NotImplemented /> },
]
const appRoutes = (tabs as NonIndexRouteObject[]).concat([
Expand Down

0 comments on commit 8abd017

Please sign in to comment.