feat: improve overflow handling in WorkflowEditorToolbar for better layout
This commit is contained in:
@@ -43,7 +43,7 @@ export function WorkflowEditorToolbar({
|
||||
}) {
|
||||
return (
|
||||
<div className="inline-flex min-h-9 w-fit max-w-full items-center rounded-md bg-white/95 px-1.5 py-1 shadow-sm backdrop-blur">
|
||||
<div className="flex min-w-0 items-center gap-0.5 overflow-x-auto">
|
||||
<div className="flex min-w-0 items-center gap-0.5 overflow-x-auto overflow-y-hidden">
|
||||
{toolbarExtra}
|
||||
<Button type="button" variant="ghost" size="sm" className="h-7 shrink-0 px-2 text-xs text-slate-700 hover:bg-slate-100 hover:text-slate-950" disabled={undoDisabled} onClick={onUndo}>
|
||||
<Undo2Icon className="size-3.5" />
|
||||
|
||||
Reference in New Issue
Block a user