Add a close button to sidebar panes (#3038)

* Add a close button to sidebar panes

* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu)

* Rerun CI

* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu)

* Fix up dark mode look and feel

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Frank Noirot
2024-07-17 01:17:53 -04:00
committed by GitHub
parent 60e187bd3e
commit 1cd2cd82b2
12 changed files with 24 additions and 6 deletions

View File

@ -204,6 +204,7 @@ function ModelingSidebarSection({
id={`${pane.id}-pane`}
title={pane.title}
Menu={pane.Menu}
onClose={() => togglePane(pane.id)}
>
{pane.Content instanceof Function ? (
<pane.Content />