From f5d772e219ef47c59c9b44476128f856a3e25551 Mon Sep 17 00:00:00 2001 From: KaWaite Date: Mon, 25 Jul 2022 18:04:42 +0900 Subject: [PATCH] fix issue of iframe's default 300 width being used if not set by plugin --- src/components/atoms/Plugin/IFrame/hooks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/atoms/Plugin/IFrame/hooks.ts b/src/components/atoms/Plugin/IFrame/hooks.ts index 86d911de2..9573bbaba 100644 --- a/src/components/atoms/Plugin/IFrame/hooks.ts +++ b/src/components/atoms/Plugin/IFrame/hooks.ts @@ -111,7 +111,7 @@ export default function useHook({ ? typeof width === "number" ? width : width + "px" - : "html.offsetWidth + horizontalMargin + scrollbarW" + : "html.offsetWidth + horizontalMargin" }; const height = ${ height