mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-26 23:49:51 +00:00
UI: Improve sidebar dropdown
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
---
|
||||
'fumadocs-ui': patch
|
||||
'@fumadocs/base-ui': patch
|
||||
---
|
||||
|
||||
Improve sidebar dropdown
|
||||
@@ -84,12 +84,12 @@ export function SidebarTabsDropdown({
|
||||
item.props?.className,
|
||||
)}
|
||||
>
|
||||
<div className="shrink-0 size-9 md:mt-1 md:mb-auto md:size-5 empty:hidden">
|
||||
<div className="shrink-0 size-9 md:mb-auto md:size-5 empty:hidden">
|
||||
{item.icon}
|
||||
</div>
|
||||
<div>
|
||||
<p className="text-sm font-medium">{item.title}</p>
|
||||
<p className="text-[0.8125rem] text-fd-muted-foreground empty:hidden">
|
||||
<p className="text-sm font-medium leading-none">{item.title}</p>
|
||||
<p className="text-[0.8125rem] text-fd-muted-foreground mt-1 empty:hidden">
|
||||
{item.description}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@@ -84,12 +84,12 @@ export function SidebarTabsDropdown({
|
||||
item.props?.className,
|
||||
)}
|
||||
>
|
||||
<div className="shrink-0 size-9 md:mt-1 md:mb-auto md:size-5 empty:hidden">
|
||||
<div className="shrink-0 size-9 md:mb-auto md:size-5 empty:hidden">
|
||||
{item.icon}
|
||||
</div>
|
||||
<div>
|
||||
<p className="text-sm font-medium">{item.title}</p>
|
||||
<p className="text-[0.8125rem] text-fd-muted-foreground empty:hidden">
|
||||
<p className="text-sm font-medium leading-none">{item.title}</p>
|
||||
<p className="text-[0.8125rem] text-fd-muted-foreground mt-1 empty:hidden">
|
||||
{item.description}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user