diff --git a/src/views/Selection/TranBox.js b/src/views/Selection/TranBox.js index d0e09f5..d8fd562 100644 --- a/src/views/Selection/TranBox.js +++ b/src/views/Selection/TranBox.js @@ -32,44 +32,46 @@ function Header({ setHideClickAway, }) { return ( - - - - - { - setHideClickAway((pre) => !pre); - }} - > - {hideClickAway ? ( - - ) : ( - - )} - - { - setSimpleStyle((pre) => !pre); - }} - > - {simpleStyle ? ( - - ) : ( - - )} - - { - setShowPopup(false); - }} - > - - + + + + + { + setHideClickAway((pre) => !pre); + }} + > + {hideClickAway ? ( + + ) : ( + + )} + + { + setSimpleStyle((pre) => !pre); + }} + > + {simpleStyle ? ( + + ) : ( + + )} + + { + setShowPopup(false); + }} + > + + + - + + ); } @@ -253,7 +255,6 @@ export default function TranBox({ onChangePosition={setBoxPosition} onClick={(e) => e.stopPropagation()} > -