File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed
Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -139,8 +139,8 @@ body.no-animation {
139139 max-height : 100% ;
140140
141141 & .hidden {
142- max-height : 30px ;
143- min-height : 30px ;
142+ max-height : 30px !important ;
143+ min-height : 30px !important ;
144144 overflow : hidden !important ;
145145 }
146146
@@ -321,4 +321,4 @@ body.no-animation {
321321 background-color : var (--border-color );
322322 margin : 4px 0 ;
323323 }
324- }
324+ }
Original file line number Diff line number Diff line change @@ -104,7 +104,11 @@ export function fixHeight(target) {
104104 if ( list === activeFileList ) return ;
105105
106106 if ( target === activeFileList ) {
107- if ( list . collapsed ) return ;
107+ if ( list . collapsed ) {
108+ list . style . removeProperty ( "max-height" ) ;
109+ list . style . removeProperty ( "height" ) ;
110+ return ;
111+ }
108112 target = list ;
109113 }
110114
@@ -114,7 +118,11 @@ export function fixHeight(target) {
114118 return ;
115119 }
116120
117- if ( list . collapsed ) return ;
121+ if ( list . collapsed ) {
122+ list . style . removeProperty ( "max-height" ) ;
123+ list . style . removeProperty ( "height" ) ;
124+ return ;
125+ }
118126
119127 list . collapse ( ) ;
120128 list . style . removeProperty ( "max-height" ) ;
You can’t perform that action at this time.
0 commit comments