Skip to content

Commit

Permalink
fix: entity list view should show footer when content in side bar and…
Browse files Browse the repository at this point in the history
… table is not scrollable (#144)
  • Loading branch information
Fran McDade authored and Fran McDade committed Aug 7, 2024
1 parent 9b6a11d commit 8e3d017
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const SidebarPositioner = styled("div")<Props>`
padding: 16px 0;
${mediaDesktopSmallUp} {
height: ${({ headerHeight }) => `calc(100vh - ${headerHeight}px)`};
max-height: 100vh;
overflow: auto;
padding: ${({ headerHeight }) => headerHeight}px 0 0;
position: sticky;
Expand Down
3 changes: 2 additions & 1 deletion src/components/Layout/components/Sidebar/sidebar.styles.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import styled from "@emotion/styled";
import { smokeMain } from "../../../../styles/common/mixins/colors";

export const Sidebar = styled.div`
align-self: stretch;
border-right: 1px solid ${({ theme }) => theme.palette.smoke.main};
border-right: 1px solid ${smokeMain};
box-sizing: content-box;
width: 264px;
`;

0 comments on commit 8e3d017

Please sign in to comment.