소스 검색

fix order

ryoji-s 2 년 전
부모
커밋
88adf989cf
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      apps/app/src/components/PageEditor/HandsontableModal.tsx

+ 1 - 2
apps/app/src/components/PageEditor/HandsontableModal.tsx

@@ -430,13 +430,12 @@ export const HandsontableModal = (): JSX.Element => {
 
   const closeButton = (
     <span>
-      {/* change order because of `float: right` by '.close' class */}
-      <button type="button" className="btn btn-close" onClick={cancel} aria-label="Close"></button>
       <ExpandOrContractButton
         isWindowExpanded={isWindowExpanded}
         contractWindow={contractWindow}
         expandWindow={expandWindow}
       />
+      <button type="button" className="btn btn-close" onClick={cancel} aria-label="Close"></button>
     </span>
   );