소스 검색

add margin for cancel button

reiji-h 2 년 전
부모
커밋
87fa05f01a
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 4 2
      apps/app/src/components/SavePageControls.tsx

+ 4 - 2
apps/app/src/components/SavePageControls.tsx

@@ -133,8 +133,10 @@ const SavePageButton = (props: {slackChannels: string, isDeviceLargerThanMd?: bo
                   <button type="button" className="btn btn-primary" onClick={() => { setIsSavePageModalShown(false); clickUnpublishButtonHandler() }}>
                     {labelUnpublishPage}
                   </button>
-                  <button type="button" className="btn btn-outline-neutral-secondary" onClick={() => setIsSavePageModalShown(false)}>
-                    {t('Cancel')}
+                  <button type="button" className="btn btn-outline-neutral-secondary mx-auto" onClick={() => setIsSavePageModalShown(false)}>
+                    <label className="mx-2">
+                      {t('Cancel')}
+                    </label>
                   </button>
                 </div>
               </Modal>