From 6dc1f3ed149e9a27d06c323557b905e336761fb7 Mon Sep 17 00:00:00 2001 From: fabrb Date: Sat, 15 Feb 2025 17:14:15 -0300 Subject: [PATCH] :clap: Change captcha modal --- src/main/reactors/login.ts | 2 +- src/renderer/modal-widgets/RecaptchaInput.tsx | 10 ++++------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/main/reactors/login.ts b/src/main/reactors/login.ts index a8dd1ae2b..dd11e7321 100644 --- a/src/main/reactors/login.ts +++ b/src/main/reactors/login.ts @@ -66,7 +66,7 @@ export default function (watcher: Watcher) { widgetParams: { url: recaptchaUrl || urls.itchio + "/captcha", }, - fullscreen: true, + fullscreen: false, }) ); diff --git a/src/renderer/modal-widgets/RecaptchaInput.tsx b/src/renderer/modal-widgets/RecaptchaInput.tsx index 23a479223..6de5e4945 100644 --- a/src/renderer/modal-widgets/RecaptchaInput.tsx +++ b/src/renderer/modal-widgets/RecaptchaInput.tsx @@ -18,14 +18,12 @@ import { const WidgetDiv = styled.div` position: relative; height: 100%; - padding: 20px; + margin: 20px; + padding: 10px; + background-color: black; webview { - position: absolute; - top: 0px; - left: 0px; - bottom: 0px; - right: 0px; + height: 700px; } &.loading {