File tree Expand file tree Collapse file tree 2 files changed +28
-6
lines changed
Expand file tree Collapse file tree 2 files changed +28
-6
lines changed Original file line number Diff line number Diff line change @@ -559,23 +559,45 @@ html {
559559 width : 100% ;
560560 border-collapse : collapse;
561561 margin : 1.5rem 0 ;
562- font-size : 0.9rem ;
562+ font-size : 0.8rem ;
563+ display : block;
564+ overflow-x : auto;
565+ white-space : nowrap;
566+ }
567+ @media (min-width : 768px ) {
568+ .prose table {
569+ display : table;
570+ white-space : normal;
571+ font-size : 0.9rem ;
572+ }
563573}
564574.prose thead th {
565575 background : var (--color-brand-50 );
566576 border : 1px solid var (--color-brand-200 );
567- padding : 0.7 rem 1 rem ;
577+ padding : 0.5 rem 0.75 rem ;
568578 text-align : left;
569579 font-weight : 600 ;
570580 color : var (--color-primary-darker );
571581 font-size : 0.78rem ;
572582 text-transform : uppercase;
573583 letter-spacing : 0.055em ;
574584}
585+ @media (min-width : 768px ) {
586+ .prose thead th {
587+ padding : 0.7rem 1rem ;
588+ }
589+ }
575590.prose tbody td {
576591 border : 1px solid var (--color-border-light );
577- padding : 0.6 rem 1 rem ;
592+ padding : 0.5 rem 0.75 rem ;
578593 color : var (--color-text-subtle );
594+ font-size : 0.85rem ;
595+ }
596+ @media (min-width : 768px ) {
597+ .prose tbody td {
598+ padding : 0.6rem 1rem ;
599+ font-size : 0.9rem ;
600+ }
579601}
580602.prose tbody tr : hover td {
581603 background : var (--color-bg );
Original file line number Diff line number Diff line change 11<template >
2- <div class =" min-h-screen flex flex-col bg-white" >
2+ <div class =" min-h-screen flex flex-col bg-white overflow-x-hidden " >
33 <AppNav />
44 <div class =" flex flex-1 pt-16" >
55 <!-- Sidebar -->
66 <DocsSidebar />
77 <!-- Main content -->
8- <main class =" flex-1 min-w-0 px-6 py-10 lg:pl-72 lg:pr-60" >
9- <div class =" max-w-3xl mx-auto" >
8+ <main class =" flex-1 min-w-0 px-4 sm:px- 6 py-10 lg:pl-72 lg:pr-60" >
9+ <div class =" max-w-3xl mx-auto overflow-x-hidden " >
1010 <slot />
1111 <DocsNavigation class =" mt-16" />
1212 </div >
You can’t perform that action at this time.
0 commit comments