From 558e5fa2e535699eac61e3242aa806ee070d3441 Mon Sep 17 00:00:00 2001 From: 0xMakka Date: Wed, 22 Nov 2023 22:22:23 +0000 Subject: [PATCH] add outline offset --- .../pages/Portfolio/Retire/CustomizableModal/styles.ts | 1 + carbonmark/components/shared/Modal/styles.ts | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/carbonmark/components/pages/Portfolio/Retire/CustomizableModal/styles.ts b/carbonmark/components/pages/Portfolio/Retire/CustomizableModal/styles.ts index 1b9ac540e4..9b104fdc17 100644 --- a/carbonmark/components/pages/Portfolio/Retire/CustomizableModal/styles.ts +++ b/carbonmark/components/pages/Portfolio/Retire/CustomizableModal/styles.ts @@ -89,6 +89,7 @@ export const modalContent = ( border: 0.4rem solid transparent; border-radius: 0.8rem; background-clip: padding-box; + outline-offset: -1px; } &::-webkit-scrollbar { diff --git a/carbonmark/components/shared/Modal/styles.ts b/carbonmark/components/shared/Modal/styles.ts index 5c6d676835..bff183dc6f 100644 --- a/carbonmark/components/shared/Modal/styles.ts +++ b/carbonmark/components/shared/Modal/styles.ts @@ -81,9 +81,10 @@ export const modalContent = css` border: 0.4rem solid transparent; border-radius: 0.8rem; background-clip: padding-box; + outline-offset: -1px; } &::-webkit-scrollbar { - display: none; + width: 1.6rem; } `;