Drawer: Position under nav & minor redesign (#67824)

* Drawer: Redesign WIP

* Fix double margin

* Teak pos

* align paddings

* Hide toolbar actions when drawer is open

* deprecate expandable

* Updated test

* remove expandable var

* Added clickaway
This commit is contained in:
Torkel Ödegaard
2023-05-05 17:00:33 +02:00
committed by GitHub
parent 26fc359933
commit ae1a85b5ad
8 changed files with 75 additions and 87 deletions

View File

@@ -74,7 +74,6 @@ export function HelpWizard({ panel, plugin, onClose }: Props) {
title={`Get help with this panel`}
size="lg"
onClose={onClose}
expandable
scrollableContent
subtitle={
<Stack direction="column" gap={1}>

View File

@@ -69,7 +69,6 @@ export const InspectContent = ({
title={title}
subtitle={data && formatStats(data)}
onClose={onClose}
expandable
scrollableContent
tabs={
<TabsBar>

View File

@@ -140,7 +140,6 @@ export const SaveDashboardDrawer = ({ dashboard, onDismiss, onSaveSuccess, isCop
)}
</TabsBar>
}
expandable
scrollableContent
>
{renderSaveBody()}