Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove full height, add glass to other panels in demo
  • Loading branch information
kmcfaul committed May 12, 2026
commit c22da9764cf4910471460b7af7833edbdf1fa38c
10 changes: 5 additions & 5 deletions packages/react-core/src/demos/Compass/examples/CompassDemo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const CompassBasic: React.FunctionComponent = () => {

const navContent = (
<>
<Panel isPill>
<Panel isPill isGlass>
<PanelMain>
<PanelMainBody>
<CompassNavContent>
Expand Down Expand Up @@ -70,7 +70,7 @@ export const CompassBasic: React.FunctionComponent = () => {
</PanelMainBody>
</PanelMain>
</Panel>
<Panel isPill>
<Panel isPill isGlass>
<PanelMain>
<PanelMainBody style={{ padding: 0 }}>
<TabContent id="subtabs" ref={subTabsRef}>
Expand Down Expand Up @@ -105,7 +105,7 @@ export const CompassBasic: React.FunctionComponent = () => {
);

const sidebarContent = (
<Panel isPill>
<Panel isPill isGlass>
<PanelMain>
<PanelMainBody>
<ActionList isIconList isVertical>
Expand Down Expand Up @@ -155,7 +155,7 @@ export const CompassBasic: React.FunctionComponent = () => {
</CompassHero>
<CompassMainHeader title={<Title headingLevel="h1">Content title</Title>} panelProps={{ isGlass: true }} />
<CompassContent>
<Panel isScrollable isAutoHeight isFullHeight isGlass>
<Panel isScrollable isAutoHeight isGlass>
<PanelMain>
<PanelMainBody>Content</PanelMainBody>
</PanelMain>
Expand All @@ -166,7 +166,7 @@ export const CompassBasic: React.FunctionComponent = () => {
const sidebarEndContent = sidebarContent;
const footerContent = (
<CompassMessageBar>
<Panel isPill>
<Panel isPill isGlass>
<PanelMain>
<PanelMainBody style={{ padding: 0 }}>Message bar</PanelMainBody>
</PanelMain>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ export const CompassDockDemo: React.FunctionComponent = () => {
<>
<CompassMainHeader title={<Title headingLevel="h1">Content title</Title>} panelProps={{ isGlass: true }} />
<CompassContent>
<Panel isScrollable isAutoHeight isFullHeight isGlass>
<Panel isScrollable isAutoHeight isGlass>
<PanelMain>
<PanelMainBody>Content</PanelMainBody>
</PanelMain>
Expand Down