Skip to content

Commit

Permalink
Grow when few columns
Browse files Browse the repository at this point in the history
  • Loading branch information
zoontek committed Dec 9, 2024
1 parent bef3eef commit 653d38d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions packages/lake/__stories__/VirtualizedListView.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ const EditableVirtualizedList = ({ few = false }: { few?: boolean }) => {
const columns = [
{
width: few ? 300 : 500,
grow: few,
id: "event_id",
title: "Event ID",
renderTitle: ({ title }: ColumnTitleConfig<SortInfo>) => <HeaderCell text={title} />,
Expand Down
2 changes: 0 additions & 2 deletions packages/lake/src/components/VirtualizedList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,10 @@ const styles = StyleSheet.create({
},
headerCell: {
flexDirection: "row",
flexGrow: 0,
alignItems: "center",
},
cell: {
flexDirection: "row",
flexGrow: 0,
alignItems: "stretch",
},
shadowsLayerContainer: {
Expand Down

0 comments on commit 653d38d

Please sign in to comment.