File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
website-v3/src/components Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ const Markdown: React.FC = () => {
2626 return (
2727 < main
2828 className = "
29- prose prose-slate dark:prose-invert prose-p:leading-loose
29+ prose prose-zinc dark:prose-invert prose-p:leading-loose
3030 dark:prose-a:text-white
3131 prose-a:font-bold prose-a:underline-offset-[5px] prose-a:decoration-docs-theme prose-a:decoration-2 hover:prose-a:decoration-4 prose-headings:mb-[1rem]
3232 prose-pre:m-0
Original file line number Diff line number Diff line change @@ -37,21 +37,21 @@ const Tabs: React.FC<TabsProps> = props => {
3737 if ( ! values . find ( ( { value } ) => value === active ) ) {
3838 active = values [ 0 ] . value ;
3939 }
40-
40+
4141 return (
4242 < div data-tab-group data-tab-group-id = { groupId } >
43- < div className = "flex items-center gap-6 border-b-2 dark:border-slate-600/80 " >
43+ < div className = "flex items-center gap-x-6 overflow-x-auto overflow-y-hidden border-b-2 border-gray-200 dark:border-zinc-800 " >
4444 { props . values . map ( value => (
4545 < button
4646 key = { value . value }
4747 data-tab-group-button
4848 data-tab-group-button-id = { value . value }
4949 aria-selected = { value . value === active }
5050 className = {
51- 'aria-selected:border -docs-theme relative top-[2px] whitespace-nowrap border-b-2 border-transparent py-2 font-semibold tracking-wide opacity-75 transition hover:opacity-100 aria-selected:opacity-100 dark:aria-selected:text-white '
51+ 'aria-selected:text -docs-theme aria-selected:opacity-100 relative h-12 whitespace-nowrap font-semibold tracking-wide opacity-75 transition hover:opacity-100'
5252 }
5353 >
54- { value . label }
54+ < span > { value . label } </ span >
5555 </ button >
5656 ) ) }
5757 </ div >
@@ -64,7 +64,7 @@ const Tabs: React.FC<TabsProps> = props => {
6464 key = { tab . props . value }
6565 data-tab = { tab . props . value }
6666 aria-expanded = { tab . props . value === active }
67- className = "hidden pt-6 aria-expanded:block [&>:first-child]:mt-0"
67+ className = "aria-expanded:block [&>:first-child]:mt-0 hidden pt-6 "
6868 >
6969 { tab }
7070 </ div >
You can’t perform that action at this time.
0 commit comments