@@ -246,8 +246,9 @@ textarea:not([rows]) {
246246 --product-selector-background : 0.98 0 0 ;
247247
248248 /* vars for the primary grid setup */
249- --grid-content : minmax (34rem , 50rem );
250- --grid-content-mobile : minmax (20rem , 50rem );
249+ --grid-max : 50rem ;
250+ --grid-content : minmax (34rem , var (--grid-max ));
251+ --grid-content-mobile : minmax (20rem , var (--grid-max ));
251252 --grid-side-callout : minmax (18rem , 26rem );
252253 --grid-column-gutter : 3.5rem ;
253254
@@ -313,7 +314,7 @@ textarea:not([rows]) {
313314 --sidebar-item-padding-tb : 0.25rem ;
314315 --content-max-width : 88rem ;
315316
316- --main-col : minmax (34rem , 50 rem );
317+ --main-col : minmax (34rem , var ( --grid-max ) );
317318 --side-col : minmax (18rem , 26rem );
318319}
319320
@@ -1929,6 +1930,7 @@ table {
19291930 font-size : var (--font-step-0 );
19301931
19311932 td {
1933+ max-width : var (--grid-max );
19321934 vertical-align : middle;
19331935 padding : var (--table-inner-padding );
19341936 background : transparent;
@@ -2011,9 +2013,22 @@ blockquote {
20112013 margin : 0 ;
20122014 }
20132015
2016+ /* Prevent codeblock x-axis overflow within callouts, retaining flow-gap for y */
2017+ .callout-content : has (.code-block ) {
2018+ .code-block {
2019+ margin-right : 0 ;
2020+ margin-left : 0 ;
2021+ }
2022+ }
2023+
20142024 .callout-content {
20152025 margin : 0 ;
20162026 }
2027+
2028+ /* To help them align with text, side callouts should not have top margin*/
2029+ & [data-grid = "last-third" ] {
2030+ --margin-callout : 0 0 0 1rem ;
2031+ }
20172032}
20182033
20192034blockquote .note {
@@ -2387,6 +2402,10 @@ ul .code-block {
23872402
23882403.banner {
23892404 margin-block-start : 1rem ;
2405+
2406+ blockquote {
2407+ margin-left : 0rem ;
2408+ }
23902409}
23912410
23922411/* MARK: Images
0 commit comments