File tree 4 files changed +12
-4
lines changed
4 files changed +12
-4
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' nextra-theme-docs ' : patch
3
+ ---
4
+
5
+ fix unclickable links on mobile
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ export function Table({ children }) {
38
38
<th align = " left" >Description</th >
39
39
</tr >
40
40
</thead >
41
- <tbody className = " first:[&_td]:font-semibold first:[&_td]:text-violet-600 first:[&_td]:dark:text-violet-500 [&_tr]:!bg-transparent" >
41
+ <tbody className = " break-all first:[&_td]:font-semibold first:[&_td]:text-violet-600 first:[&_td]:dark:text-violet-500 [&_tr]:!bg-transparent" >
42
42
{ children .props .children [1 ].props .children }
43
43
</tbody >
44
44
</table >
Original file line number Diff line number Diff line change @@ -45,11 +45,12 @@ const config: DocsThemeConfig = {
45
45
key : '3.0-release' ,
46
46
content : (
47
47
< div className = 'before:content-["🎉_"]' >
48
+ Nextra 3.0 is released.{ ' ' }
48
49
< Link
49
50
href = "https://the-guild.dev/blog/nextra-3"
50
51
className = 'after:content-["_→"]'
51
52
>
52
- Nextra 3.0 is released. Read more
53
+ Read more
53
54
</ Link >
54
55
</ div >
55
56
)
Original file line number Diff line number Diff line change @@ -390,8 +390,10 @@ export function Sidebar({
390
390
) }
391
391
< div
392
392
className = { cn (
393
- '[transition:background-color_1.5s_ease] max-md:_fixed _inset-0 _z-10' ,
394
- menu ? '_bg-black/80 dark:_bg-black/60' : '_bg-transparent'
393
+ '[transition:background-color_1.5s_ease]' ,
394
+ menu
395
+ ? 'max-md:_bg-black/80 max-md:dark:_bg-black/60 _fixed _inset-0 _z-10'
396
+ : '_bg-transparent'
395
397
) }
396
398
onClick = { ( ) => setMenu ( false ) }
397
399
/>
You can’t perform that action at this time.
0 commit comments