@@ -246,8 +246,9 @@ textarea:not([rows]) {
246
246
--product-selector-background : 0.98 0 0 ;
247
247
248
248
/* 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 ));
251
252
--grid-side-callout : minmax (18rem , 26rem );
252
253
--grid-column-gutter : 3.5rem ;
253
254
@@ -313,7 +314,7 @@ textarea:not([rows]) {
313
314
--sidebar-item-padding-tb : 0.25rem ;
314
315
--content-max-width : 88rem ;
315
316
316
- --main-col : minmax (34rem , 50 rem );
317
+ --main-col : minmax (34rem , var ( --grid-max ) );
317
318
--side-col : minmax (18rem , 26rem );
318
319
}
319
320
@@ -1929,6 +1930,7 @@ table {
1929
1930
font-size : var (--font-step-0 );
1930
1931
1931
1932
td {
1933
+ max-width : var (--grid-max );
1932
1934
vertical-align : middle;
1933
1935
padding : var (--table-inner-padding );
1934
1936
background : transparent;
@@ -2011,9 +2013,22 @@ blockquote {
2011
2013
margin : 0 ;
2012
2014
}
2013
2015
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
+
2014
2024
.callout-content {
2015
2025
margin : 0 ;
2016
2026
}
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
+ }
2017
2032
}
2018
2033
2019
2034
blockquote .note {
@@ -2387,6 +2402,10 @@ ul .code-block {
2387
2402
2388
2403
.banner {
2389
2404
margin-block-start : 1rem ;
2405
+
2406
+ blockquote {
2407
+ margin-left : 0rem ;
2408
+ }
2390
2409
}
2391
2410
2392
2411
/* MARK: Images
0 commit comments