File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -425,19 +425,21 @@ h1 {
425425/* Side-by-side layout for single image + code */
426426.side-by-side-layout {
427427 display : grid;
428- grid-template-columns : minmax ( 400 px , 45% ) minmax ( 500 px , 55% ) ;
428+ grid-template-columns : 45% 55% ;
429429 gap : 2rem ;
430430 margin : 2rem 0 ;
431431 align-items : start;
432432 max-width : 1600px ;
433433 margin-left : auto;
434434 margin-right : auto;
435+ width : 100% ;
435436}
436437
437438.side-by-side-layout .image-container {
438439 margin : 0 ;
439440 height : fit-content;
440441 max-height : none;
442+ min-width : 0 ;
441443}
442444
443445.side-by-side-layout .image-container img {
447449.side-by-side-layout .code-section {
448450 margin : 0 ;
449451 height : fit-content;
452+ min-width : 0 ;
450453}
451454
452455/* Stack on medium screens */
You can’t perform that action at this time.
0 commit comments