File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import React, { FunctionComponent as FC } from 'react';
22import { ArticleFooter } from './ArticleFooter' ;
33
44const Article : FC < { children : React . ReactNode } > = ( { children } ) => (
5- < article className = "flex-1 overflow-x-hidden relative z-10" >
5+ < article className = "flex-1 overflow-x-hidden px-4 -mx-4 relative z-10" >
66 { children }
77 < ArticleFooter />
88 </ article >
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ const Layout: React.FC<LayoutProps> = ({ children, pageContext }) => {
4242 < Header />
4343 < div className = "flex pt-16 px-12 md:px-0 md:gap-12 lg:gap-16 xl:gap-20 justify-center" >
4444 { leftSidebar ? < LeftSidebar /> : < div /> }
45- < Container as = "main" className = { cn ( 'flex-1' , { 'overflow-x-auto' : ! isRedocPage } ) } >
45+ < Container as = "main" className = { cn ( 'flex-1 px-4 -mx-4 ' , { 'overflow-x-auto' : ! isRedocPage } ) } >
4646 { leftSidebar ? < Breadcrumbs /> : < div /> }
4747 { children }
4848 < Footer />
Original file line number Diff line number Diff line change 11import React , { useMemo } from 'react' ;
2+ import * as Tooltip from '@radix-ui/react-tooltip' ;
23import Icon from '@ably/ui/core/Icon' ;
3- import { LanguageSelector } from '../LanguageSelector' ;
44import { track } from '@ably/ui/core/insights' ;
5- import * as Tooltip from '@radix-ui/react-tooltip' ;
5+ import { IconName } from '@ably/ui/core/Icon/types' ;
6+ import { LanguageSelector } from '../LanguageSelector' ;
67import { productData } from 'src/data' ;
78import { languageInfo } from 'src/data/languages' ;
89import { useLayoutContext } from 'src/contexts/layout-context' ;
9- import { IconName } from '@ably/ui/core/Icon/types' ;
1010import { tooltipContentClassName } from '../utils/styles' ;
1111
1212type PageHeaderProps = {
@@ -54,7 +54,7 @@ export const PageHeader: React.FC<PageHeaderProps> = ({ title, description }) =>
5454 href = { link }
5555 target = "_blank"
5656 rel = "noopener noreferrer"
57- className = "flex text-neutral-900 dark:text-neutral-400 cursor-pointer p-1.5"
57+ className = "flex text-neutral-900 dark:text-neutral-400 cursor-pointer p-1.5 focus-base rounded-lg "
5858 onClick = { ( ) => {
5959 track ( 'llm_link_clicked' , {
6060 model,
You can’t perform that action at this time.
0 commit comments