瀏覽代碼

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>
   );