File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,6 @@ function Playground() {
48
48
</ div >
49
49
</ div >
50
50
51
- < div className = "flex-none h-3" />
52
51
< PlaygroundPanels />
53
52
</ div >
54
53
</ Layout >
Original file line number Diff line number Diff line change @@ -28,19 +28,20 @@ function PlaygroundPanels() {
28
28
29
29
return (
30
30
< >
31
- < div className = "px-4 gap-4 flex py-2 " >
32
- { panels . map ( ( panelName ) => (
33
- < div key = { panelName } className = "flex items-center " >
34
- < div className = "text-left space-x-2" >
31
+ < div className = "px-4 gap-4 flex pt-3 pb-1 h-8 " >
32
+ < div className = "flex items-center" >
33
+ < div className = "text-left space-x-2 " >
34
+ { panels . map ( ( panelName ) => (
35
35
< TabButton
36
+ key = { panelName }
36
37
onClick = { ( ) => setPanel ( panelName ) }
37
38
active = { panelName === panel }
38
39
>
39
40
{ panelName }
40
41
</ TabButton >
41
- </ div >
42
+ ) ) }
42
43
</ div >
43
- ) ) }
44
+ </ div >
44
45
</ div >
45
46
< Suspense fallback = { null } >
46
47
{ panel === panels [ 0 ] && (
You can’t perform that action at this time.
0 commit comments