#725 - fix menu of pinned items

This commit is contained in:
Elio Struyf
2023-12-21 14:05:27 +01:00
parent 6158971fd8
commit 91f127ef94
2 changed files with 19 additions and 8 deletions
@@ -19,15 +19,14 @@ export const ActionMenuButton: React.FunctionComponent<IActionMenuButtonProps> =
return (
<Menu.Button
ref={ref || null}
onClick={(e) => e.stopPropagation()}
disabled={disabled}
className={`group inline-flex justify-center text-sm font-medium ${
getColors(
'text-vulcan-400 hover:text-vulcan-600 dark:text-gray-400 dark:hover:text-whisper-600',
'text-[var(--vscode-tab-inactiveForeground)] hover:text-[var(--vscode-tab-activeForeground)]'
)
} ${
disabled ? 'opacity-50' : ''
}`}
className={`group inline-flex justify-center text-sm font-medium ${getColors(
'text-vulcan-400 hover:text-vulcan-600 dark:text-gray-400 dark:hover:text-whisper-600',
'text-[var(--vscode-tab-inactiveForeground)] hover:text-[var(--vscode-tab-activeForeground)]'
)
} ${disabled ? 'opacity-50' : ''
}`}
>
<span className="sr-only">{title}</span>
<DotsVerticalIcon className="w-4 h-4" aria-hidden="true" />