From 2f9178a832b08ff83ccd95ee8041256d58c9e6bc Mon Sep 17 00:00:00 2001 From: RMidhunSuresh <hi@midhun.dev> Date: Tue, 15 Feb 2022 15:11:38 +0530 Subject: [PATCH] Add parent styling --- src/parent-style.css | 2 ++ src/parent.ts | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/parent-style.css b/src/parent-style.css index 87f19c5..7dfe707 100644 --- a/src/parent-style.css +++ b/src/parent-style.css @@ -3,12 +3,14 @@ right: 20px; bottom: 100px; border: none; + border-radius: 12px; /* this is to prevent the display of the smaller iframe before it is resized programmatically. */ height: 0; width: 0; + box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1), 0px 14px 64px -10px rgba(0, 0, 0, 0.2); } @media (max-width: 800px) { diff --git a/src/parent.ts b/src/parent.ts index af78fcf..208267a 100644 --- a/src/parent.ts +++ b/src/parent.ts @@ -7,8 +7,8 @@ const hostRoot = `${parentHosRootURL.protocol}${parentHosRootURL.host}`; const sizeCollection = { "desktop": { - "account-setup": { height: "110px", width: "360px" }, - "timeline": {height: "600px", width: "375px"} + "account-setup": { height: "334px", width: "375px" }, + "timeline": {height: "595px", width: "375px"} }, "mobile": { "account-setup": { height: "100vh", width: "100vw" }, -- GitLab