File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed
src/organisms/Modals/Modal Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -55,16 +55,7 @@ export const Modal = ({
5555 marginX : isDesktop ? 'auto' : 0 ,
5656 maxH : isInside ? 'calc(100dvh - 96px)' : 'auto' ,
5757 maxWidth : isDesktop ? '690px' : '100%' ,
58- '.chakra-modal__close-btn' : {
59- '&:hover' : {
60- bg : 'transparent' ,
61- } ,
62- '&:focus-visible' : {
63- boxShadow : `inset 0 0 0 2px ${ vars (
64- 'colors-alert-deepSkyBlue'
65- ) } , inset 0 0 0 4px ${ vars ( 'colors-neutral-white' ) } `,
66- } ,
67- } ,
58+
6859 ...( fixedButtons && {
6960 '.uikit-modalContent' : {
7061 pb : 0 ,
@@ -101,6 +92,8 @@ export const Modal = ({
10192 </ ModalHeader >
10293 { closeOnOverlayClick && (
10394 < ModalCloseButton
95+ background = "transparent!important"
96+ border = "none"
10497 color = { vars ( 'colors-neutral-white' ) }
10598 h = "12px"
10699 p = "22px"
@@ -110,6 +103,11 @@ export const Modal = ({
110103 _focus = { {
111104 boxShadow : 'none' ,
112105 } }
106+ _focusVisible = { {
107+ boxShadow : `inset 0 0 0 2px ${ vars (
108+ 'colors-alert-deepSkyBlue'
109+ ) } , inset 0 0 0 4px ${ vars ( 'colors-neutral-white' ) } `,
110+ } }
113111 />
114112 ) }
115113 { fixedSubtitle ?. trim ( ) && (
You can’t perform that action at this time.
0 commit comments