From a99635610aee50e689c18799808edddc8ae69c95 Mon Sep 17 00:00:00 2001 From: Corban Riley Date: Fri, 3 May 2024 21:00:44 -0400 Subject: [PATCH] Removing unused styles --- packages/wallet/src/shared/KitWalletProvider/index.tsx | 5 +---- packages/wallet/src/shared/WalletHeader/styles.css.ts | 7 ------- packages/wallet/src/shared/styles.css.ts | 8 -------- 3 files changed, 1 insertion(+), 19 deletions(-) delete mode 100644 packages/wallet/src/shared/WalletHeader/styles.css.ts delete mode 100644 packages/wallet/src/shared/styles.css.ts diff --git a/packages/wallet/src/shared/KitWalletProvider/index.tsx b/packages/wallet/src/shared/KitWalletProvider/index.tsx index 385ba3d6..497f0a3e 100644 --- a/packages/wallet/src/shared/KitWalletProvider/index.tsx +++ b/packages/wallet/src/shared/KitWalletProvider/index.tsx @@ -10,7 +10,6 @@ import { getHeader, getContent } from './utils' import { History, Navigation, NavigationContextProvider, WalletModalContextProvider } from '../../contexts' import { HEADER_HEIGHT } from '../../constants' -import * as styles from '../styles.css' import '@0xsequence/design-system/styles.css' @@ -110,9 +109,7 @@ export const KitWalletContent = ({ children }: KitWalletProviderProps) => { {getHeader(navigation)} {displayScrollbar ? ( - - {getContent(navigation)} - + {getContent(navigation)} ) : ( getContent(navigation) )} diff --git a/packages/wallet/src/shared/WalletHeader/styles.css.ts b/packages/wallet/src/shared/WalletHeader/styles.css.ts deleted file mode 100644 index 561a0a72..00000000 --- a/packages/wallet/src/shared/WalletHeader/styles.css.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { style } from '@vanilla-extract/css' - -export const searchButton = style({ - ':focus-visible': { - boxShadow: 'none' - } -}) diff --git a/packages/wallet/src/shared/styles.css.ts b/packages/wallet/src/shared/styles.css.ts deleted file mode 100644 index 73e6df64..00000000 --- a/packages/wallet/src/shared/styles.css.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { style } from '@vanilla-extract/css' - -export const scrollbar = style({ - /* @ts-ignore-next-line */ - '> div': { - overflowY: 'scroll' - } -})