Skip to content

Commit

Permalink
Fix: Right Drawer Border Breakage on Scroll by Ensuring Dynamic Height
Browse files Browse the repository at this point in the history
  • Loading branch information
iamsmruti committed Jan 10, 2025
1 parent cf48ae2 commit c9c5095
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/client/components/MyDashboardTimeline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const TimelineFeed = styled('div')({
display: 'flex',
justifyContent: 'center',
flex: 1,
height: 'auto',
paddingLeft: DashTimeline.MIN_PADDING,
paddingRight: DashTimeline.MIN_PADDING,
paddingTop: DashTimeline.MIN_PADDING
Expand All @@ -33,8 +34,7 @@ export const TimelineFeedItems = styled('div')({

const FeedAndDrawer = styled('div')({
display: 'flex',
height: '100%',
overflow: 'auto'
height: 'unset'
})

const MyDashboardTimeline = (props: Props) => {
Expand Down
2 changes: 1 addition & 1 deletion packages/client/components/TimelineRightDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const RightDrawer = styled('div')({
minWidth: DashTimeline.TIMELINE_DRAWER_WIDTH,
maxWidth: DashTimeline.TIMELINE_DRAWER_WIDTH,
borderLeft: `1px solid ${PALETTE.SLATE_400}`,
height: '100%',
height: 'auto',
padding: 16,
[makeMinWidthMediaQuery(MIN_WIDTH)]: {
display: 'block'
Expand Down

0 comments on commit c9c5095

Please sign in to comment.