Browse Source

increase footer height

master
jeffvli 3 years ago
parent
commit
677e2b9d31
  1. 9
      src/components/layout/Sidebar.tsx
  2. 4
      src/components/layout/styled.tsx

9
src/components/layout/Sidebar.tsx

@ -9,14 +9,7 @@ const Sidebar = ({
handleSidebarSelect, handleSidebarSelect,
}: any) => { }: any) => {
return ( return (
<FixedSidebar <FixedSidebar id="sidebar" width={expand ? 193 : 56} collapsible>
id="sidebar"
style={{
height: 'calc(100% - 122px)',
}}
width={expand ? 193 : 56}
collapsible
>
<Sidenav <Sidenav
style={{ style={{
height: '100%', height: '100%',

4
src/components/layout/styled.tsx

@ -29,7 +29,7 @@ export const MainContainer = styled(StyledContainer)`
`; `;
export const RootFooter = styled(Footer)` export const RootFooter = styled(Footer)`
height: 80px; height: 88px;
`; `;
// Titlebar.tsx // Titlebar.tsx
@ -107,5 +107,5 @@ export const FixedSidebar = styled(Sidebar)`
position: fixed; position: fixed;
top: 33px; top: 33px;
z-index: 1; z-index: 1;
height: 100%; height: calc(100% - 130px);
`; `;

Loading…
Cancel
Save