From bab618c7afa4610fd36b2889dd26d78e44afd855 Mon Sep 17 00:00:00 2001 From: Jacky Li Date: Tue, 30 Apr 2024 18:55:00 -0700 Subject: [PATCH] feat: add rule for expanding admintable to show 5 rows KBDEV-1095 --- src/views/AdminView/components/AdminTable/index.scss | 4 ++++ src/views/AdminView/components/AdminTable/index.tsx | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/views/AdminView/components/AdminTable/index.scss b/src/views/AdminView/components/AdminTable/index.scss index 3574ea4cb..9361dcda3 100644 --- a/src/views/AdminView/components/AdminTable/index.scss +++ b/src/views/AdminView/components/AdminTable/index.scss @@ -10,4 +10,8 @@ display: flex; justify-content: space-between; } + + .ag-theme-material .ag-row:last-of-type { + border-bottom: none; + } } diff --git a/src/views/AdminView/components/AdminTable/index.tsx b/src/views/AdminView/components/AdminTable/index.tsx index ad5ad0e41..7f9f3fd8d 100644 --- a/src/views/AdminView/components/AdminTable/index.tsx +++ b/src/views/AdminView/components/AdminTable/index.tsx @@ -151,7 +151,7 @@ const AdminTable = ({ onChange, records = [], variant = 'User' }: AdminTableProp role="presentation" style={{ width: '100%', - height: '352px', + height: '353px', // 5 Rows }} >