From a96d2224472d8d8e4748c65a82a4becb5020dfc4 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Tue, 21 Mar 2023 13:13:13 +0900 Subject: [PATCH] fix: Fix issue that white rectangle appears in the foreground of the page (#97) --- src/content/presenters/ConsoleFramePresenter.ts | 1 + src/content/site-style.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/src/content/presenters/ConsoleFramePresenter.ts b/src/content/presenters/ConsoleFramePresenter.ts index 02e57412..4e32c6fa 100644 --- a/src/content/presenters/ConsoleFramePresenter.ts +++ b/src/content/presenters/ConsoleFramePresenter.ts @@ -44,6 +44,7 @@ export class ConsoleFramePresenterImpl implements ConsoleFramePresenter { return; } ele.blur(); + ele.style.height = ""; } resize(_width: number, height: number): void { diff --git a/src/content/site-style.ts b/src/content/site-style.ts index d117e6b6..659dc4d1 100644 --- a/src/content/site-style.ts +++ b/src/content/site-style.ts @@ -4,6 +4,7 @@ export default ` padding: 0; bottom: 0; left: 0; + height: 0; width: 100%; position: fixed; z-index: 2147483647;