File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 139
139
<div class =" mt-6 grid gap-4 @min-sm:grid-cols-2" >
140
140
<a
141
141
href =" /basic"
142
- class =" inline-flex items-center justify-center gap-2 rounded-lg bg-blue-700 px-6 py-3 font-medium text-white transition-colors hover:bg-blue-800 active:scale-95"
142
+ class =" inline-flex items-center justify-center gap-2 rounded-lg bg-blue-700 px-6 py-3 font-medium text-white transition-colors hover:bg-blue-800 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-blue-700 active:scale-95"
143
143
>
144
144
View Example
145
145
</a >
179
179
<div class =" mt-6 grid gap-4 @min-sm:grid-cols-2" >
180
180
<a
181
181
href =" /virtualization"
182
- class =" inline-flex items-center justify-center gap-2 rounded-lg bg-blue-700 px-6 py-3 font-medium text-white transition-colors hover:bg-blue-800 active:scale-95"
182
+ class =" inline-flex items-center justify-center gap-2 rounded-lg bg-blue-700 px-6 py-3 font-medium text-white transition-colors hover:bg-blue-800 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-blue-700 active:scale-95"
183
183
>
184
184
View Example
185
185
</a >
Original file line number Diff line number Diff line change 49
49
<pre class ="overflow-x-auto p-4 pe-15 font-mono" >{code }</pre >
50
50
51
51
<button
52
- class =" absolute end-3 top-1/2 -translate-y-1/2 rounded-full p-2 hover:bg-current/8 active:bg-current/12"
52
+ class =" absolute end-3 top-1/2 -translate-y-1/2 rounded-full p-2 hover:bg-current/8 focus-visible:outline-2 focus-visible:outline-current active:bg-current/12"
53
53
onclick ={copyCode }
54
54
>
55
55
<CopyCodeIcon role =" presentation" class =" size-5" />
Original file line number Diff line number Diff line change 15
15
{href }
16
16
target =" _blank"
17
17
rel =" noopener noreferrer"
18
- class =" inline-flex items-center justify-center gap-2 rounded-lg bg-[#25292e] px-6 py-3 font-medium text-white transition-colors hover:bg-[#0d1117] active:scale-95"
18
+ class =" inline-flex items-center justify-center gap-2 rounded-lg bg-[#25292e] px-6 py-3 font-medium text-white transition-colors hover:bg-[#0d1117] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[#25292e] active:scale-95"
19
19
>
20
20
<GithubIcon role =" presentation" class =" size-5" />
21
21
{@render children ()}
Original file line number Diff line number Diff line change 86
86
87
87
<Tree {root } class =" min-h-svh p-6" >
88
88
{#snippet children ({ items })}
89
- {#each items as item }
89
+ {#each items as item ( item . node . id ) }
90
90
{#if item .visible }
91
91
<TreeItem {item } />
92
92
{/if }
You can’t perform that action at this time.
0 commit comments