Skip to content

Commit 839a64c

Browse files
committed
update integration
1 parent 8b1009f commit 839a64c

File tree

1 file changed

+9
-7
lines changed
  • packages/react-integration/demo-app-ts/src/components/demos/DrawerDemo

1 file changed

+9
-7
lines changed

packages/react-integration/demo-app-ts/src/components/demos/DrawerDemo/DrawerDemo.tsx

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -123,28 +123,30 @@ export class DrawerDemo extends Component<DrawerProps, DrawerDemoState> {
123123
<Button id="toggleButton" onClick={this.onClick}>
124124
Toggle Drawer
125125
</Button>
126-
<Drawer id="basic-drawer" isExpanded={isExpanded} onExpand={this.onExpand} position="bottom">
126+
<Drawer
127+
id="basic-drawer"
128+
isExpanded={isExpanded}
129+
onExpand={this.onExpand}
130+
position="bottom"
131+
style={{ minHeight: '300px', height: '300px' }}
132+
>
127133
<DrawerSection colorVariant={DrawerColorVariant.default}>drawer-section</DrawerSection>
128134
<DrawerContent colorVariant={DrawerColorVariant.default} panelContent={panelContent}>
129135
<DrawerContentBody>{drawerContent}</DrawerContentBody>
130136
</DrawerContent>
131137
</Drawer>
132-
<br />
133-
<br />
134138
<Button id="toggleFocusTrapButton" onClick={this.onFocusTrapClick}>
135139
Toggle Drawer with focus trap
136140
</Button>
137-
<Drawer isExpanded={isFocusTrapExpanded}>
141+
<Drawer isExpanded={isFocusTrapExpanded} style={{ minHeight: '300px', height: '300px' }}>
138142
<DrawerContent colorVariant={DrawerColorVariant.default} panelContent={focusTrapPanelContent}>
139143
<DrawerContentBody>{drawerContent}</DrawerContentBody>
140144
</DrawerContent>
141145
</Drawer>
142-
<br />
143-
<br />
144146
<Button id="toggleCustomFocusButton" onClick={this.onCustomFocusClick}>
145147
Toggle Drawer with custom focus
146148
</Button>
147-
<Drawer isExpanded={isCustomFocusExpanded}>
149+
<Drawer isExpanded={isCustomFocusExpanded} style={{ minHeight: '300px', height: '300px' }}>
148150
<DrawerContent colorVariant={DrawerColorVariant.default} panelContent={customFocusPanelContent}>
149151
<DrawerContentBody>{drawerContent}</DrawerContentBody>
150152
</DrawerContent>

0 commit comments

Comments
 (0)