Skip to content

Commit c22da97

Browse files
committed
remove full height, add glass to other panels in demo
1 parent cc877d0 commit c22da97

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

packages/react-core/src/demos/Compass/examples/CompassDemo.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const CompassBasic: React.FunctionComponent = () => {
4040

4141
const navContent = (
4242
<>
43-
<Panel isPill>
43+
<Panel isPill isGlass>
4444
<PanelMain>
4545
<PanelMainBody>
4646
<CompassNavContent>
@@ -70,7 +70,7 @@ export const CompassBasic: React.FunctionComponent = () => {
7070
</PanelMainBody>
7171
</PanelMain>
7272
</Panel>
73-
<Panel isPill>
73+
<Panel isPill isGlass>
7474
<PanelMain>
7575
<PanelMainBody style={{ padding: 0 }}>
7676
<TabContent id="subtabs" ref={subTabsRef}>
@@ -105,7 +105,7 @@ export const CompassBasic: React.FunctionComponent = () => {
105105
);
106106

107107
const sidebarContent = (
108-
<Panel isPill>
108+
<Panel isPill isGlass>
109109
<PanelMain>
110110
<PanelMainBody>
111111
<ActionList isIconList isVertical>
@@ -155,7 +155,7 @@ export const CompassBasic: React.FunctionComponent = () => {
155155
</CompassHero>
156156
<CompassMainHeader title={<Title headingLevel="h1">Content title</Title>} panelProps={{ isGlass: true }} />
157157
<CompassContent>
158-
<Panel isScrollable isAutoHeight isFullHeight isGlass>
158+
<Panel isScrollable isAutoHeight isGlass>
159159
<PanelMain>
160160
<PanelMainBody>Content</PanelMainBody>
161161
</PanelMain>
@@ -166,7 +166,7 @@ export const CompassBasic: React.FunctionComponent = () => {
166166
const sidebarEndContent = sidebarContent;
167167
const footerContent = (
168168
<CompassMessageBar>
169-
<Panel isPill>
169+
<Panel isPill isGlass>
170170
<PanelMain>
171171
<PanelMainBody style={{ padding: 0 }}>Message bar</PanelMainBody>
172172
</PanelMain>

packages/react-core/src/demos/Compass/examples/CompassDockDemo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ export const CompassDockDemo: React.FunctionComponent = () => {
379379
<>
380380
<CompassMainHeader title={<Title headingLevel="h1">Content title</Title>} panelProps={{ isGlass: true }} />
381381
<CompassContent>
382-
<Panel isScrollable isAutoHeight isFullHeight isGlass>
382+
<Panel isScrollable isAutoHeight isGlass>
383383
<PanelMain>
384384
<PanelMainBody>Content</PanelMainBody>
385385
</PanelMain>

0 commit comments

Comments
 (0)