From 4b83ff594f339883ea2be6c86adbf01b9c4ab2b5 Mon Sep 17 00:00:00 2001 From: Jordan Knott Date: Tue, 5 Jan 2021 18:58:13 -0600 Subject: [PATCH] fix: fix AddList component behaving weirdly when a Task Group was moved --- frontend/src/shared/components/Lists/Styles.ts | 2 -- frontend/src/shared/components/Lists/index.tsx | 10 +++++----- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/frontend/src/shared/components/Lists/Styles.ts b/frontend/src/shared/components/Lists/Styles.ts index 2c16901..1d5ab6a 100644 --- a/frontend/src/shared/components/Lists/Styles.ts +++ b/frontend/src/shared/components/Lists/Styles.ts @@ -4,8 +4,6 @@ export const Container = styled.div` flex: 1; user-select: none; white-space: nowrap; - overflow-x: auto; - overflow-y: hidden; ::-webkit-scrollbar { height: 10px; diff --git a/frontend/src/shared/components/Lists/index.tsx b/frontend/src/shared/components/Lists/index.tsx index f64508e..f5fa30a 100644 --- a/frontend/src/shared/components/Lists/index.tsx +++ b/frontend/src/shared/components/Lists/index.tsx @@ -391,16 +391,16 @@ const SimpleLists: React.FC = ({ ); })} - { - onCreateTaskGroup(listName); - }} - /> {provided.placeholder} )} + { + onCreateTaskGroup(listName); + }} + /> );