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.

Update close button styling in openAgentSettingsRightSidebar function for improved UI consistency

Muhammad Hamza Khane73a7aafb713
diff --git a/packages/app/src/builder-ui/ui/dialogs.ts b/packages/app/src/builder-ui/ui/dialogs.ts
index b5553cd7..8c4d9ca5 100644
--- a/packages/app/src/builder-ui/ui/dialogs.ts
+++ b/packages/app/src/builder-ui/ui/dialogs.ts
@@ -2077,7 +2077,7 @@ export function openAgentSettingsRightSidebar(state = undefined) {
const closeBtn = document.createElement('button');
closeBtn.type = 'button';
closeBtn.className =
- 'close-btn items-center py-2 text-xs font-medium text-gray-900 bg-transparent hover:text-gray-600 active:text-gray-900 focus:z-10';
+ 'close-btn relative cursor-pointer w-8 h-8 bg-transparent rounded-lg hover:text-gray-900 hover:bg-gray-200 p-2 focus:z-10';
closeBtn.innerHTML = '<span class="mif-cross"></span>';
// Add click event to close the sidebar