From 041f176c78dde842e68136a15f01e58eb13d6813 Mon Sep 17 00:00:00 2001 From: Thomas Osmonson Date: Fri, 21 Feb 2020 15:22:38 -0600 Subject: [PATCH] fix: replace css-reset with scoped version --- src/react/components/modal/index.tsx | 42 +++++++++++++++++----------- 1 file changed, 26 insertions(+), 16 deletions(-) diff --git a/src/react/components/modal/index.tsx b/src/react/components/modal/index.tsx index 3c12446..4830c36 100644 --- a/src/react/components/modal/index.tsx +++ b/src/react/components/modal/index.tsx @@ -1,5 +1,14 @@ import React from 'react'; -import { Modal as BlockstackModal, ThemeProvider, theme, CSSReset, Flex, Box, Text, ChevronIcon } from '@blockstack/ui'; +import { + Modal as BlockstackModal, + ThemeProvider, + theme, + ScopedCSSReset, + Flex, + Box, + Text, + ChevronIcon, +} from '@blockstack/ui'; import { useHover } from 'use-events'; import { Logo } from '../logo'; import { Intro } from '../screens/intro'; @@ -105,21 +114,22 @@ export const Modal = () => { return ( - - - } - close={doCloseAuth} - isOpen={isOpen} - > - - + + + } + close={doCloseAuth} + isOpen={isOpen} + > + + + ); };