From a2ff5e9e48395dd9860b4f0a64507495d4a2e44d Mon Sep 17 00:00:00 2001 From: Gustavo Lelis Date: Mon, 6 Apr 2020 19:29:37 -0300 Subject: [PATCH] Small style update --- platform/ui/src/components/SidePanel/SidePanel.jsx | 8 ++++---- platform/ui/src/views/Viewer/Viewer.js | 4 +--- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/platform/ui/src/components/SidePanel/SidePanel.jsx b/platform/ui/src/components/SidePanel/SidePanel.jsx index 62c08f088..eebdcd703 100644 --- a/platform/ui/src/components/SidePanel/SidePanel.jsx +++ b/platform/ui/src/components/SidePanel/SidePanel.jsx @@ -20,8 +20,8 @@ const dynamicStyle = { }; const sideClasses = { - left: 'border-r-1', - right: 'border-l-1', + left: 'border-r-4', + right: 'border-l-4', }; const baseClassName = @@ -36,8 +36,8 @@ const SidePanel = ({ iconName, }) => { const [isOpen, setIsOpen] = useState(defaultIsOpen); - - const style = Object.assign({}, isOpen ? openStyle : closedStyle, baseStyle); + const openStatus = isOpen ? 'open' : 'closed'; + const style = Object.assign({}, dynamicStyle[openStatus][side]); return (
{ >
GUSTAVO
-
+
CONTENT