File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
src/pages/IndependentPanel Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import Browser from 'webextension-polyfill'
18
18
19
19
function App ( ) {
20
20
const { t } = useTranslation ( )
21
- const [ collapsed , setCollapsed ] = useState ( false )
21
+ const [ collapsed , setCollapsed ] = useState ( true )
22
22
const config = useConfig ( )
23
23
const [ sessions , setSessions ] = useState ( [ ] )
24
24
const [ sessionId , setSessionId ] = useState ( null )
Original file line number Diff line number Diff line change 46
46
.chat-sidebar {
47
47
display : flex ;
48
48
flex-direction : column ;
49
+ min-width : 250px ;
49
50
width : 250px ;
50
51
background-color : var (--theme-color );
51
- transition : width 0.3s ;
52
+ transition : width 0.3s , min-width 0.3 s ;
52
53
padding : 10px ;
53
54
}
54
55
55
56
.chat-sidebar.collapsed {
57
+ min-width : 60px ;
56
58
width : 60px ;
57
59
}
58
60
59
61
.chat-sidebar :hover ,
60
62
.chat-sidebar :not (.collapsed ) {
63
+ min-width : 250px ;
61
64
width : 250px ;
62
65
}
63
66
You can’t perform that action at this time.
0 commit comments