diff --git a/src/app.scss b/src/app.scss
index 763af4c..b71afa8 100644
--- a/src/app.scss
+++ b/src/app.scss
@@ -1066,43 +1066,27 @@ aside.menu.main-menu .menu-expanse {
display: flex;
align-items: center;
}
+}
- .chat-option-menu-container-collapsed {
- background: transparent;
- border: 1px solid rgba(255, 255, 255, 0.2);
- color: #ffffff;
- padding: 6px;
- border-radius: 6px;
- cursor: pointer;
+.dropdown-trigger {
+ .button {
+ width: 28px !important;
+ height: 28px !important;
+ padding: 0;
+ background: transparent !important;
+ border: 1px solid rgba(255, 255, 255, 0.2) !important;
transition: all 0.2s ease;
- display: flex;
- align-items: center;
- justify-content: center;
- width: 28px;
- height: 28px;
- flex-shrink: 0;
-
+ color: #ffffff !important;
+ cursor: pointer !important;
+ border-radius: 6px !important;
&:hover {
- background-color: rgba(255, 255, 255, 0.1);
- border-color: rgba(255, 255, 255, 0.3);
+ background-color: rgba(255, 255, 255, 0.1) !important;
+ border-color: rgba(255, 255, 255, 0.3) !important;
}
-
}
}
-
-/* Chat option menu when collapsed */
-.modern-sidebar .chat-option-menu-container-collapsed .dropdown .dropdown-menu {
- top: 100% !important;
- bottom: auto !important;
- left: 0 !important;
- right: auto !important;
- min-width: 150px;
-}
-
-
-
/* Chat List */
.modern-sidebar .chat-list {
flex: 1;
@@ -1137,7 +1121,7 @@ aside.menu.main-menu .menu-expanse {
.chat-menu-item {
display: block;
- padding: 12px 16px;
+ padding: 8px 12px;
color: rgba(255, 255, 255, 0.8);
text-decoration: none;
border-radius: 0;
@@ -1355,23 +1339,34 @@ aside.menu.main-menu .menu-expanse {
}
}
-/* Fix dropdown positioning in header to prevent off-screen */
-.modern-sidebar .sidebar-header .dropdown .dropdown-menu {
+/* Chat option menu when collapsed */
+.modern-sidebar .chat-option-menu-container-collapsed .dropdown .dropdown-menu {
top: calc(100% + 8px) !important;
bottom: auto !important;
- padding-top: 0;
- padding-bottom: 0;
+ left: 0 !important;
+ right: auto !important;
+ min-width: 150px;
+}
+
+/* Fix dropdown positioning in header to prevent off-screen */
+.modern-sidebar .dropdown .dropdown-menu {
+ padding-top: 0 !important;
+ padding-bottom: 0 !important;
}
/* Ensure chat option menu dropdown is visible */
.modern-sidebar .chat-option-menu-container .dropdown .dropdown-menu {
- top: 100% !important;
+ top: calc(100% + 8px) !important;
bottom: auto !important;
- left: auto !important;
- right: 0 !important;
+ left: 0 !important;
+ right: auto !important;
min-width: 150px;
}
+
+
+
+
/* Footer dropdown positioning */
.modern-sidebar .sidebar-footer .dropdown .dropdown-menu {
bottom: 100% !important;
diff --git a/src/lib/ChatMenuItem.svelte b/src/lib/ChatMenuItem.svelte
index 862c674..ddaf72f 100644
--- a/src/lib/ChatMenuItem.svelte
+++ b/src/lib/ChatMenuItem.svelte
@@ -95,7 +95,7 @@
edit()}>