File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
src/app-layout/visual-refresh-toolbar/drawer Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ export function AppLayoutGlobalAiDrawerImplementation({
221221 </ div >
222222 ) }
223223 </ header >
224- { activeAiDrawer ?. content }
224+ < div className = { styles [ 'drawer-content-content' ] } > { activeAiDrawer ?. content } </ div >
225225 </ div >
226226 </ div >
227227 </ aside >
Original file line number Diff line number Diff line change 2323$global-drawer-gap-size : 8px ;
2424$global-drawer-expanded-mode-motion : #{awsui .$motion-duration-refresh-only-slow } #{awsui .$motion-easing-refresh-only-a } ;
2525$drawer-resize-handle-size : awsui .$space-m ;
26+ $ai-drawer-heider-height : 41px ;
2627
2728.drawer {
2829 position : sticky ;
@@ -288,8 +289,10 @@ $drawer-resize-handle-size: awsui.$space-m;
288289 }
289290
290291 > .drawer-content {
292+ grid-row : 1 / span 4 ;
293+
291294 > .drawer-content-header {
292- block-size : 41 px ;
295+ block-size : $ai-drawer-heider-height ;
293296 position : sticky ;
294297 z-index : 1000 ;
295298 display : flex ;
@@ -384,6 +387,12 @@ $drawer-resize-handle-size: awsui.$space-m;
384387 }
385388 }
386389 }
390+
391+ > .drawer-content-content {
392+ display : flex ;
393+ flex-direction : column ;
394+ block-size : calc (100% - #{$ai-drawer-heider-height } );
395+ }
387396 }
388397 }
389398
You can’t perform that action at this time.
0 commit comments