File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
beta/src/components/Layout Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -148,12 +148,12 @@ export function SidebarRouteTree({
148
148
{ index !== 0 && (
149
149
< li
150
150
role = "separator"
151
- className = "mt-4 mb-2 ml-5 border-b border-border dark:border-border-dark"
151
+ className = "mt-4 mb-2 ml-5 xs:mx-5 border-b border-border dark:border-border-dark"
152
152
/>
153
153
) }
154
154
< h3
155
155
className = { cn (
156
- 'mb-1 text-sm font-bold ml-5 text-tertiary dark:text-tertiary-dark' ,
156
+ 'mb-1 text-sm font-bold ml-5 xs:mx-5 text-tertiary dark:text-tertiary-dark' ,
157
157
index !== 0 && 'mt-2'
158
158
) } >
159
159
{ sectionHeader }
Original file line number Diff line number Diff line change @@ -302,7 +302,7 @@ export default function TopNav({
302
302
className = "w-full lg:h-auto grow pr-0 lg:pr-5 pt-4 lg:py-6 md:pt-4 lg:pt-4 scrolling-touch scrolling-gpu" >
303
303
{ /* No fallback UI so need to be careful not to suspend directly inside. */ }
304
304
< Suspense fallback = { null } >
305
- < div className = "pl-3 xs:pl -5 xs:gap-0.5 xs:text-base overflow-x-scroll flex flex-row lg:hidden text-base font-bold text-secondary dark:text-secondary-dark" >
305
+ < div className = "pl-3 xs:px -5 xs:gap-0.5 xs:text-base flex flex-row lg:hidden text-base font-bold text-secondary dark:text-secondary-dark" >
306
306
< NavItem isActive = { section === 'learn' } url = "/learn" >
307
307
Learn
308
308
</ NavItem >
@@ -322,7 +322,7 @@ export default function TopNav({
322
322
</ div >
323
323
< div
324
324
role = "separator"
325
- className = "ml-5 mt-4 mb-2 border-b border-border dark:border-border-dark"
325
+ className = "ml-5 xs:mx-5 mt-4 mb-2 border-b border-border dark:border-border-dark"
326
326
/>
327
327
< SidebarRouteTree
328
328
// Don't share state between the desktop and mobile versions.
You can’t perform that action at this time.
0 commit comments