File tree Expand file tree Collapse file tree
src/pages/IndependentPanel Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import Browser from 'webextension-polyfill'
1818
1919function App ( ) {
2020 const { t } = useTranslation ( )
21- const [ collapsed , setCollapsed ] = useState ( false )
21+ const [ collapsed , setCollapsed ] = useState ( true )
2222 const config = useConfig ( )
2323 const [ sessions , setSessions ] = useState ( [ ] )
2424 const [ sessionId , setSessionId ] = useState ( null )
Original file line number Diff line number Diff line change 4646 .chat-sidebar {
4747 display : flex ;
4848 flex-direction : column ;
49+ min-width : 250px ;
4950 width : 250px ;
5051 background-color : var (--theme-color );
51- transition : width 0.3s ;
52+ transition : width 0.3s , min-width 0.3 s ;
5253 padding : 10px ;
5354 }
5455
5556 .chat-sidebar.collapsed {
57+ min-width : 60px ;
5658 width : 60px ;
5759 }
5860
5961 .chat-sidebar :hover ,
6062 .chat-sidebar :not (.collapsed ) {
63+ min-width : 250px ;
6164 width : 250px ;
6265 }
6366
You can’t perform that action at this time.
0 commit comments