diff --git a/packages/calcite-components/src/components/panel/panel.scss b/packages/calcite-components/src/components/panel/panel.scss index e8958a2415d..02d164f02e3 100644 --- a/packages/calcite-components/src/components/panel/panel.scss +++ b/packages/calcite-components/src/components/panel/panel.scss @@ -29,17 +29,23 @@ } .header { - @apply bg-foreground-1 - w-full - items-stretch - justify-start + @apply bg-foreground-1 flex flex-col z-header; +} + +.header-container { + @apply flex flex-row w-full + items-stretch + justify-start; flex: 0 0 auto; } .action-bar-container { - @apply w-full - z-header; + @apply w-full; +} + +.top-separator { + border-block-start: 1px solid var(--calcite-ui-border-3); } .bottom-separator { diff --git a/packages/calcite-components/src/components/panel/panel.stories.ts b/packages/calcite-components/src/components/panel/panel.stories.ts index 8d8913220d3..b043a0e3284 100644 --- a/packages/calcite-components/src/components/panel/panel.stories.ts +++ b/packages/calcite-components/src/components/panel/panel.stories.ts @@ -241,6 +241,25 @@ export const actionBarWithoutContent_TestOnly = (): string => html` `; +export const actionBarZIndex_TestOnly = (): string => html` + + + + + + + test + + + + +

Some content

`; + export const footerAndActionBarWithoutContent_TestOnly = (): string => html`