From c4fe2c7497a088bf6534624323045d53d0beb7c4 Mon Sep 17 00:00:00 2001 From: "Jade (Rose) Rowland" Date: Sun, 20 Oct 2024 23:33:02 -0700 Subject: [PATCH] fix horizontal button --- website/src/repl/components/panel/Panel.jsx | 29 ++++++++++++++------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/website/src/repl/components/panel/Panel.jsx b/website/src/repl/components/panel/Panel.jsx index 1d43dc63..57cd26c0 100644 --- a/website/src/repl/components/panel/Panel.jsx +++ b/website/src/repl/components/panel/Panel.jsx @@ -20,15 +20,23 @@ export function HorizontalPanel({ context }) { const { isPanelOpen, activeFooter: tab } = settings; return ( - - {isPanelOpen &&
- -
} + + {isPanelOpen && ( +
+ +
+ )} -
- +
+ +
+ +
); } @@ -88,7 +96,7 @@ function PanelNav({ children, className, settings, ...props }) {