mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-06 07:29:42 +02:00
fix: subagent dropdown hidden by overflow:hidden parent
The dropdown was being clipped by .session-tabs overflow-y:auto. Changed from position:absolute to position:fixed and calculate position dynamically in JS using getBoundingClientRect(). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -2961,24 +2961,20 @@ kbd {
|
||||
color: var(--accent-hover);
|
||||
}
|
||||
|
||||
/* Subagent Dropdown */
|
||||
/* Subagent Dropdown - uses fixed positioning to escape overflow:hidden parents */
|
||||
.subagent-dropdown {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: calc(100% + 4px);
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
position: fixed;
|
||||
min-width: 220px;
|
||||
max-width: 320px;
|
||||
background: var(--bg-card);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
|
||||
z-index: 1000;
|
||||
z-index: 10000;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.tab-subagent-badge:hover .subagent-dropdown,
|
||||
.subagent-dropdown.open {
|
||||
display: block;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user