File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
src/app-layout/visual-refresh-toolbar/drawer Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import ButtonDropdown from '~components/button-dropdown';
8
8
import Drawer from '~components/drawer' ;
9
9
import awsuiPlugins from '~components/internal/plugins' ;
10
10
11
+ import { IframeWrapper } from '../../utils/iframe-wrapper' ;
11
12
import { Counter , CustomDrawerContent } from './content-blocks' ;
12
13
13
14
const searchParams = new URL ( location . hash . substring ( 1 ) , location . href ) . searchParams ;
@@ -239,10 +240,15 @@ awsuiPlugins.appLayout.registerDrawer({
239
240
240
241
mountContent : container => {
241
242
ReactDOM . render (
242
- < >
243
- < Counter id = "circle3-global" />
244
- global widget content circle 3
245
- </ > ,
243
+ < IframeWrapper
244
+ id = "circle3-global"
245
+ AppComponent = { ( ) => (
246
+ < >
247
+ < Counter id = "circle3-global" />
248
+ global widget content circle 3
249
+ </ >
250
+ ) }
251
+ /> ,
246
252
container
247
253
) ;
248
254
} ,
Original file line number Diff line number Diff line change @@ -178,6 +178,7 @@ $drawer-resize-handle-size: awsui.$space-m;
178
178
inline-size : $global-drawer-gap-size ;
179
179
background : awsui .$color-gap-global-drawer ;
180
180
border-inline-end : awsui .$border-divider-section-width solid awsui .$color-border-layout ;
181
+ box-sizing : border-box ;
181
182
}
182
183
183
184
> .drawer-slider {
You can’t perform that action at this time.
0 commit comments