fix: toolbar dropdown z-index and overflow for visibility

This commit is contained in:
Agent Zero
2026-07-28 00:50:39 +02:00
parent 722335c923
commit bbaded656f
@@ -120,7 +120,7 @@ function ToolbarDropdown({ item }: { item: ToolbarItem }) {
</button> </button>
{open && ( {open && (
<div <div
className="absolute top-full left-0 mt-1 bg-white border border-secondary-200 rounded-lg shadow-lg z-50 py-1" className="absolute top-full left-0 mt-1 bg-white border border-secondary-200 rounded-lg shadow-lg z-[100] py-1"
style={{ minWidth: item.menuWidth || '180px' }} style={{ minWidth: item.menuWidth || '180px' }}
> >
{item.menuOptions?.map((opt) => ( {item.menuOptions?.map((opt) => (
@@ -183,7 +183,7 @@ export function PluginToolbar() {
return ( return (
<div <div
className="flex items-center gap-1 px-2 sm:px-3 py-1.5 bg-white border-b border-secondary-200 min-h-[43px] overflow-x-auto" className="flex items-center gap-1 px-2 sm:px-3 py-1.5 bg-white border-b border-secondary-200 min-h-[43px] overflow-visible relative z-30"
data-testid="plugin-toolbar" data-testid="plugin-toolbar"
> >
{groupNames.map((groupName, gi) => ( {groupNames.map((groupName, gi) => (