From c5c0958905b918f6159a5984e4a2a18f030e167a Mon Sep 17 00:00:00 2001 From: Nikolaj Frey Date: Wed, 5 Jul 2023 20:14:49 +1000 Subject: [PATCH] feat: feature/rainbow-component Modified commander mobile view --- remix/app/components/Commander/Commander.tsx | 100 ++++++++++--------- remix/app/components/Rainbow/Rainbow.tsx | 2 + 2 files changed, 55 insertions(+), 47 deletions(-) diff --git a/remix/app/components/Commander/Commander.tsx b/remix/app/components/Commander/Commander.tsx index 1c67f2f..14516df 100644 --- a/remix/app/components/Commander/Commander.tsx +++ b/remix/app/components/Commander/Commander.tsx @@ -317,14 +317,14 @@ export const Commander = (props) => { { - -
- - -
-
+ > + + + + +
) diff --git a/remix/app/components/Rainbow/Rainbow.tsx b/remix/app/components/Rainbow/Rainbow.tsx index c3e1327..f8498e9 100644 --- a/remix/app/components/Rainbow/Rainbow.tsx +++ b/remix/app/components/Rainbow/Rainbow.tsx @@ -13,6 +13,8 @@ export const Rainbow = (allProps: any): JSX.Element => { const uuid = useUuid() + props.expand = props?.expand || true + const [hidden, setHidden] = React.useState(true) const repeats = props?.repeats || 1 const [filter, setFilter] = React.useState(props?.filter)