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 = () => {
26
26
return (
27
27
< main
28
28
className = "
29
- prose prose-slate dark:prose-invert prose-p:leading-loose
29
+ prose prose-zinc dark:prose-invert prose-p:leading-loose
30
30
dark:prose-a:text-white
31
31
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]
32
32
prose-pre:m-0
Original file line number Diff line number Diff line change @@ -37,21 +37,21 @@ const Tabs: React.FC<TabsProps> = props => {
37
37
if ( ! values . find ( ( { value } ) => value === active ) ) {
38
38
active = values [ 0 ] . value ;
39
39
}
40
-
40
+
41
41
return (
42
42
< 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 " >
44
44
{ props . values . map ( value => (
45
45
< button
46
46
key = { value . value }
47
47
data-tab-group-button
48
48
data-tab-group-button-id = { value . value }
49
49
aria-selected = { value . value === active }
50
50
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'
52
52
}
53
53
>
54
- { value . label }
54
+ < span > { value . label } </ span >
55
55
</ button >
56
56
) ) }
57
57
</ div >
@@ -64,7 +64,7 @@ const Tabs: React.FC<TabsProps> = props => {
64
64
key = { tab . props . value }
65
65
data-tab = { tab . props . value }
66
66
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 "
68
68
>
69
69
{ tab }
70
70
</ div >
You can’t perform that action at this time.
0 commit comments