From 3787c8e3df4d8348afb3aad17376494dcdf827f3 Mon Sep 17 00:00:00 2001 From: Victor Creed <69458664+creed-victor@users.noreply.github.com> Date: Mon, 23 Oct 2023 14:30:52 +0300 Subject: [PATCH] fix: SOV-3224 expand mobile table (#644) --- .changeset/lovely-melons-divide.md | 5 +++++ .../components/TableMobile/components/TableMobileRow.tsx | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 .changeset/lovely-melons-divide.md diff --git a/.changeset/lovely-melons-divide.md b/.changeset/lovely-melons-divide.md new file mode 100644 index 000000000..ec4781f10 --- /dev/null +++ b/.changeset/lovely-melons-divide.md @@ -0,0 +1,5 @@ +--- +'@sovryn/ui': patch +--- + +fix: SOV-3224 expand table on mobile diff --git a/packages/ui/src/2_molecules/Table/components/TableMobile/components/TableMobileRow.tsx b/packages/ui/src/2_molecules/Table/components/TableMobile/components/TableMobileRow.tsx index 8b8dc56ec..a6cc6a681 100644 --- a/packages/ui/src/2_molecules/Table/components/TableMobile/components/TableMobileRow.tsx +++ b/packages/ui/src/2_molecules/Table/components/TableMobile/components/TableMobileRow.tsx @@ -41,8 +41,7 @@ export const TableMobileRow = ({ style={AccordionStyle.secondary} >
- {!expandedContent && - !renderer && + {!renderer && columns.map(column => (