docs: redesign help button (#8610)

Redesign help button

Closes DOCS-817
This commit is contained in:
Shahed Nasser
2024-08-16 09:40:05 +03:00
committed by GitHub
parent 0cc2a62b9b
commit 9bdcdc76a8
11 changed files with 109 additions and 152 deletions

View File

@@ -20,7 +20,9 @@ export const MenuAction = ({ item }: MenuActionProps) => {
tabIndex={-1}
onClick={item.action}
>
<span className="text-medusa-fg-subtle">{item.icon}</span>
<span className="text-medusa-fg-subtle mt-[2.5px] block">
{item.icon}
</span>
<span className="text-compact-small flex-1">{item.title}</span>
{item.shortcut && (
<span className="text-medusa-fg-subtle text-compact-small">

View File

@@ -20,7 +20,9 @@ export const MenuItem = ({ item }: MenuItemProps) => {
)}
href={item.link}
>
<span className="text-medusa-fg-subtle">{item.icon}</span>
<span className="text-medusa-fg-subtle mt-[2.5px] block">
{item.icon}
</span>
<span className="text-compact-small">{item.title}</span>
</Link>
)