File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ import { Storage } from '@/utils';
2828
2929const toastPortal = document . createElement ( 'div' ) ;
3030toastPortal . style . position = 'fixed' ;
31- toastPortal . style . top = '90px ' ;
31+ toastPortal . style . top = '78px ' ;
3232toastPortal . style . left = '50%' ;
3333toastPortal . style . transform = 'translate(-50%, 0)' ;
3434toastPortal . style . maxWidth = '100%' ;
@@ -37,7 +37,7 @@ toastPortal.style.zIndex = '1001';
3737const setPortalPosition = ( ) => {
3838 const header = document . querySelector ( '#header' ) ;
3939 if ( header ) {
40- toastPortal . style . top = `${ header . getBoundingClientRect ( ) . top + 90 } px` ;
40+ toastPortal . style . top = `${ header . getBoundingClientRect ( ) . top + 78 } px` ;
4141 }
4242} ;
4343const startHandlePortalPosition = ( ) => {
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ import ReactDOM from 'react-dom/client';
2424
2525const toastPortal = document . createElement ( 'div' ) ;
2626toastPortal . style . position = 'fixed' ;
27- toastPortal . style . top = '90px ' ;
27+ toastPortal . style . top = '78px ' ;
2828toastPortal . style . left = '50%' ;
2929toastPortal . style . transform = 'translate(-50%, 0)' ;
3030toastPortal . style . maxWidth = '100%' ;
@@ -33,7 +33,7 @@ toastPortal.style.zIndex = '1001';
3333const setPortalPosition = ( ) => {
3434 const header = document . querySelector ( '#header' ) ;
3535 if ( header ) {
36- toastPortal . style . top = `${ header . getBoundingClientRect ( ) . top + 90 } px` ;
36+ toastPortal . style . top = `${ header . getBoundingClientRect ( ) . top + 78 } px` ;
3737 }
3838} ;
3939const startHandlePortalPosition = ( ) => {
You can’t perform that action at this time.
0 commit comments