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.

Refactor dropdown menu styles for consistency

Salman-Ahamedee90dd13f155
diff --git a/packages/app/views/menus/main-menu.ejs b/packages/app/views/menus/main-menu.ejs
index 119cf59b..5fb58807 100644
--- a/packages/app/views/menus/main-menu.ejs
+++ b/packages/app/views/menus/main-menu.ejs
@@ -38,7 +38,7 @@
<div class="relative">
<button
type="button"
- class="flex text-sm rounded-full ring-2 ring-transparent hover:ring-gray-200 focus:ring-primary-100 transition-all duration-150 cursor-pointer"
+ class="flex text-sm rounded-full cursor-pointer"
id="user-menu-button"
aria-expanded="false"
aria-haspopup="true"
@@ -63,7 +63,7 @@
</button>
<div
- class="hidden absolute right-0 z-50 mt-2 w-48 text-base text-left list-none bg-white divide-y divide-gray-100 rounded-lg shadow-lg border border-gray-100"
+ class="hidden absolute right-0 z-50 mt-2 w-48 text-base text-left list-none bg-white divide-y divide-gray-100 rounded-lg shadow"
id="user-dropdown"
role="menu"
aria-labelledby="user-menu-button"
@@ -115,7 +115,7 @@
</button>
<div
- class="hidden xl:hidden absolute right-0 z-50 mt-2 w-48 text-base text-left list-none bg-white divide-y divide-gray-100 rounded-lg shadow-lg border border-gray-100"
+ class="hidden xl:hidden absolute right-0 z-50 mt-2 w-48 text-base text-left list-none bg-white divide-y divide-gray-100 rounded-lg shadow"
id="hamburger-dropdown"
role="menu"
aria-labelledby="hamburger-menu-button"
diff --git a/packages/app/views/pages/partials/studio/top-user-menu.ejs b/packages/app/views/pages/partials/studio/top-user-menu.ejs
index a44853fd..1c963caa 100644
--- a/packages/app/views/pages/partials/studio/top-user-menu.ejs
+++ b/packages/app/views/pages/partials/studio/top-user-menu.ejs
@@ -1,7 +1,7 @@
<div class="relative">
<button
type="button"
- class="flex text-sm rounded-full ring-2 ring-transparent hover:ring-gray-200 focus:ring-primary-100 transition-all duration-150 cursor-pointer"
+ class="flex text-sm rounded-full cursor-pointer"
id="user-menu-button"
aria-expanded="false"
aria-haspopup="true"
@@ -26,7 +26,7 @@
</button>
<div
- class="hidden absolute right-0 z-50 mt-2 w-48 text-base text-left list-none bg-white divide-y divide-gray-100 rounded-lg shadow-lg border border-gray-100"
+ class="hidden absolute right-0 z-50 mt-2 w-48 text-base text-left list-none bg-white divide-y divide-gray-100 rounded-lg shadow"
id="<%= dropdownId %>"
role="menu"
aria-labelledby="user-menu-button"