@@ -1491,6 +1491,30 @@ html .md-footer-meta.md-typeset a:is(:focus,:hover) {
14911491
14921492 .md-typeset .tabbed-set {
14931493 margin : 0 -.8rem 0 -0.8rem ;
1494+ overflow-x : clip;
1495+ }
1496+
1497+ .md-typeset .tabbed-set > .tabbed-labels {
1498+ display : flex;
1499+ flex-wrap : nowrap;
1500+ width : 100% ;
1501+ max-width : 100% ;
1502+ overflow-x : auto;
1503+ overflow-y : hidden;
1504+ -webkit-overflow-scrolling : touch;
1505+ box-sizing : border-box;
1506+ }
1507+
1508+ .md-typeset .tabbed-set > .tabbed-labels > label {
1509+ flex : 0 0 auto;
1510+ white-space : nowrap;
1511+ }
1512+
1513+ .md-typeset .tabbed-set > .tabbed-content ,
1514+ .md-typeset .tabbed-set > .tabbed-content > .tabbed-block {
1515+ max-width : 100% ;
1516+ min-width : 0 ;
1517+ box-sizing : border-box;
14941518 }
14951519
14961520 .md-typeset div [editor-title ] code {
@@ -1499,8 +1523,27 @@ html .md-footer-meta.md-typeset a:is(:focus,:hover) {
14991523 }
15001524
15011525 .md-typeset div [editor-title ] {
1502- margin-left : -0.8rem ;
1503- margin-right : -0.8rem ;
1526+ width : 100vw ;
1527+ max-width : 100vw ;
1528+ margin-left : calc (50% - 50vw );
1529+ margin-right : calc (50% - 50vw );
1530+ }
1531+
1532+ .md-typeset div [editor-title ] .highlight ,
1533+ .md-typeset div [editor-title ] pre ,
1534+ .md-typeset div [editor-title ] pre > code {
1535+ max-width : 100% ;
1536+ min-width : 0 ;
1537+ box-sizing : border-box;
1538+ }
1539+
1540+ .md-typeset div [editor-title ] .highlight {
1541+ margin : 0 ;
1542+ }
1543+
1544+ .md-typeset div [editor-title ] pre {
1545+ overflow-x : auto;
1546+ -webkit-overflow-scrolling : touch;
15041547 }
15051548
15061549 [dir = ltr ] .md-typeset : is (.admonition , details ) {
@@ -1511,8 +1554,41 @@ html .md-footer-meta.md-typeset a:is(:focus,:hover) {
15111554 background : -webkit-linear-gradient (45deg , rgba (0 , 42 , 255 , 0.1 ), rgb (0 114 255 / 1% ), rgba (0 , 42 , 255 , 0.05 )) !important ;
15121555 }
15131556
1557+ [dir = ltr ] .md-typeset details pre ,
1558+ [dir = ltr ] .md-typeset details blockquote ,
1559+ [dir = ltr ] .md-typeset details : is (.admonition , details , .termy ) {
1560+ margin-left : 0 !important ;
1561+ margin-right : 0 !important ;
1562+ }
1563+
1564+ [dir = ltr ] .md-typeset details > : is (.md-typeset__scrollwrap , p , h4 , h3 , .tabbed-set , ul ): not (.admonition-title , summary ) {
1565+ padding-left : 0 !important ;
1566+ padding-right : 0 !important ;
1567+ }
1568+
1569+ [dir = ltr ] .md-typeset details : is (.md-typeset__scrollwrap , .highlight , .termy , div [editor-title ], .tabbed-set , .md-typeset__table ) {
1570+ width : calc (100% + 1.6rem );
1571+ max-width : calc (100% + 1.6rem );
1572+ margin-left : -0.8rem !important ;
1573+ margin-right : -0.8rem !important ;
1574+ box-sizing : border-box;
1575+ }
1576+
1577+ [dir = ltr ] .md-typeset details : is (pre , .md-typeset__scrollwrap , .tabbed-labels , .tabbed-content , .highlight , .termy , .md-typeset__table ) {
1578+ max-width : 100% ;
1579+ min-width : 0 ;
1580+ box-sizing : border-box;
1581+ overflow-x : auto;
1582+ -webkit-overflow-scrolling : touch;
1583+ }
1584+
1585+ [dir = ltr ] .md-typeset details > .tabbed-set {
1586+ margin-left : -0.8rem !important ;
1587+ margin-right : -0.8rem !important ;
1588+ }
1589+
15141590 [dir = ltr ] .md-content__inner > .tabbed-set .tabbed-labels {
1515- margin-left : 0.8 rem ;
1591+ margin-left : 0 ;
15161592 padding-left : 0 ;
15171593 }
15181594}
0 commit comments