fix: toolbar dropdown z-index and overflow for visibility
This commit is contained in:
@@ -120,7 +120,7 @@ function ToolbarDropdown({ item }: { item: ToolbarItem }) {
|
||||
</button>
|
||||
{open && (
|
||||
<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' }}
|
||||
>
|
||||
{item.menuOptions?.map((opt) => (
|
||||
@@ -183,7 +183,7 @@ export function PluginToolbar() {
|
||||
|
||||
return (
|
||||
<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"
|
||||
>
|
||||
{groupNames.map((groupName, gi) => (
|
||||
|
||||
Reference in New Issue
Block a user