Skip to content

Commit

Permalink
feat: upgrade plan design improvement (#603)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsladerman authored Jun 6, 2024
1 parent dadcb30 commit 307b3ec
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/components/Flyover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ function FlyoverRef(
width={width}
minWidth={minWidth}
alignSelf="flex-end"
BackdropProps={{ backgroundColor: 'transparent' }}
InnerDefaultStyle={{
opacity: 0,
transform: 'translateX(0)',
Expand Down
10 changes: 8 additions & 2 deletions src/components/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export type TableProps = Omit<
loose?: boolean
stickyColumn?: boolean
scrollTopMargin?: number
flush?: boolean
virtualizeRows?: boolean
lockColumnsOnScroll?: boolean
reactVirtualOptions?: Partial<
Expand Down Expand Up @@ -534,6 +535,7 @@ function TableRef(
loose = false,
stickyColumn = false,
scrollTopMargin = 500,
flush = false,
width,
virtualizeRows = false,
lockColumnsOnScroll,
Expand Down Expand Up @@ -691,8 +693,12 @@ function TableRef(
>
<Div
backgroundColor="fill-two"
border="1px solid border-fill-two"
borderRadius="large"
border={flush ? 'none' : '1px solid border-fill-two'}
borderRadius={
flush
? `0 0 ${theme.borderRadiuses.large}px ${theme.borderRadiuses.large}px`
: 'large'
}
overflow="auto"
ref={tableContainerRef}
onScroll={({ target }: { target: HTMLDivElement }) =>
Expand Down

0 comments on commit 307b3ec

Please sign in to comment.