Skip to content

Commit

Permalink
aa
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaMachina committed Sep 28, 2024
1 parent cc45d2d commit b15b908
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/chilled-kiwis-relate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'nextra-theme-docs': patch
---

fix unclickable links on mobile
2 changes: 1 addition & 1 deletion docs/pages/docs/docs-theme/theme-configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export function Table({ children }) {
<th align="left">Description</th>
</tr>
</thead>
<tbody className="first:[&_td]:font-semibold first:[&_td]:text-violet-600 first:[&_td]:dark:text-violet-500 [&_tr]:!bg-transparent">
<tbody className="break-all first:[&_td]:font-semibold first:[&_td]:text-violet-600 first:[&_td]:dark:text-violet-500 [&_tr]:!bg-transparent">
{children.props.children[1].props.children}
</tbody>
</table>
Expand Down
3 changes: 2 additions & 1 deletion docs/theme.config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,12 @@ const config: DocsThemeConfig = {
key: '3.0-release',
content: (
<div className='before:content-["🎉_"]'>
Nextra 3.0 is released.{' '}
<Link
href="https://the-guild.dev/blog/nextra-3"
className='after:content-["_→"]'
>
Nextra 3.0 is released. Read more
Read more
</Link>
</div>
)
Expand Down
6 changes: 4 additions & 2 deletions packages/nextra-theme-docs/src/components/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -390,8 +390,10 @@ export function Sidebar({
)}
<div
className={cn(
'[transition:background-color_1.5s_ease] max-md:_fixed _inset-0 _z-10',
menu ? '_bg-black/80 dark:_bg-black/60' : '_bg-transparent'
'[transition:background-color_1.5s_ease]',
menu
? 'max-md:_bg-black/80 max-md:dark:_bg-black/60 _fixed _inset-0 _z-10'
: '_bg-transparent'
)}
onClick={() => setMenu(false)}
/>
Expand Down

0 comments on commit b15b908

Please sign in to comment.