File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 7474
7575.d2h-file-collapse {
7676 justify-content : flex-end;
77- display : flex ;
77+ display : none ;
7878 cursor : pointer;
7979 font-size : 12px ;
8080 align-items : center;
Original file line number Diff line number Diff line change @@ -112,7 +112,9 @@ export class Diff2HtmlUI {
112112 }
113113
114114 fileContentToggle ( ) : void {
115- this . targetElement . querySelectorAll ( '.d2h-file-collapse' ) . forEach ( fileContentToggleBtn => {
115+ this . targetElement . querySelectorAll < HTMLElement > ( '.d2h-file-collapse' ) . forEach ( fileContentToggleBtn => {
116+ fileContentToggleBtn . style . display = 'flex' ;
117+
116118 const toggleFileContents : ( selector : string ) => void = selector => {
117119 const fileContents : HTMLElement | null | undefined = fileContentToggleBtn
118120 . closest ( '.d2h-file-wrapper' )
You can’t perform that action at this time.
0 commit comments