From 8efd02a6af777d05429eed7233ea2f43eb859b94 Mon Sep 17 00:00:00 2001 From: Lucas Di Pentima Date: Thu, 14 Oct 2021 14:54:28 -0300 Subject: [PATCH] 18128: Improves toggle button bar's alignment & separation. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- src/components/multi-panel-view/multi-panel-view.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/multi-panel-view/multi-panel-view.tsx b/src/components/multi-panel-view/multi-panel-view.tsx index ff1680b0..8b38e6c6 100644 --- a/src/components/multi-panel-view/multi-panel-view.tsx +++ b/src/components/multi-panel-view/multi-panel-view.tsx @@ -16,7 +16,7 @@ type CssRules = 'button' | 'buttonIcon'; const styles: StyleRulesCallback = theme => ({ button: { padding: '2px 5px', - marginRight: '2px', + marginRight: '5px', }, buttonIcon: { boxShadow: 'none', @@ -123,7 +123,9 @@ const MPVContainerComponent = ({children, panelNames, classes, ...props}: MPVCon }; return - { toggles } + + { toggles } + { panelVisibility.includes(true) ? panels : -- 2.30.2