Skip to content

Commit

Permalink
fix: white rectangle appers by Esc (#157)
Browse files Browse the repository at this point in the history
Close #151. A white frame appears when users press Escape key at dark
mode of github.com.
  • Loading branch information
ueokande authored Jun 11, 2023
1 parent 3f9bebe commit 3498424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/presenters/ConsoleFramePresenter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export class ConsoleFramePresenterImpl implements ConsoleFramePresenter {
return;
}
ele.blur();
ele.style.height = "";
ele.style.setProperty("height", "0", "important");
}

resize(_width: number, height: number): void {
Expand Down

0 comments on commit 3498424

Please sign in to comment.