Skip to content

SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.

add padding to make dynamic header clickable area larger

ali-inkco0ed9a511cd72
diff --git a/packages/app/src/builder-ui/ui/forms/dynamic-headers.ts b/packages/app/src/builder-ui/ui/forms/dynamic-headers.ts
index 1fb45627..f68f8a80 100644
--- a/packages/app/src/builder-ui/ui/forms/dynamic-headers.ts
+++ b/packages/app/src/builder-ui/ui/forms/dynamic-headers.ts
@@ -48,14 +48,14 @@ function getOrCreateUIElements(
moreButton = document.createElement('button');
moreButton.id = moreButtonId;
moreButton.className =
- 'hidden absolute inline-flex items-center justify-center pt-2 pb-1 mb-1 text-lg font-bold text-gray-500 hover:text-gray-700 flex-shrink-0';
+ 'hidden absolute inline-flex items-center justify-center pt-2 pb-1 pl-2 pr-3 mb-1 text-lg font-bold text-gray-500 hover:text-gray-700 flex-shrink-0';
moreButton.setAttribute('aria-label', 'More tabs');
moreButton.innerHTML = '<span style="letter-spacing: -2px; line-height: 1;">&raquo;</span>';
nav.appendChild(moreButton);
}
// Ensure correct positioning
- Object.assign(moreButton.style, { right: '26px' });
+ Object.assign(moreButton.style, { right: '14px' });
(moreButton.classList.add('absolute'), moreButton.classList.remove('ml-2'));
let dropdownMenu = tabContainer.querySelector(`#${dropdownId}`) as HTMLElement;