Skip to content

Commit 8154ab6

Browse files
Independent Panel: keep search visible in collapsed state (compact)\n\n- Remove hidden state for search when collapsed; show compact input (smaller height/padding/font) to fit 60px width\n- Keeps hover behavior unnecessary; users can always see and use search while collapsed\n\nWhy: User expects search to always be visible even when the sidebar is collapsed.
1 parent 1f6410d commit 8154ab6

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/pages/IndependentPanel/styles.scss

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,15 @@
7979
width: 60px;
8080
}
8181

82+
// Keep search visible even when collapsed (compact style)
8283
.chat-sidebar.collapsed .search-container {
83-
display: none;
84-
}
85-
86-
// Reveal search when sidebar is collapsed but hovered (temporary expand UX)
87-
.chat-sidebar.collapsed:hover .search-container {
8884
display: block;
85+
margin-top: 8px;
86+
}
87+
.chat-sidebar.collapsed .search-input {
88+
min-height: 28px;
89+
padding: 4px 6px;
90+
font-size: 12px;
8991
}
9092

9193
.chat-sidebar:hover,

0 commit comments

Comments
 (0)