소스 검색

use span tag

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

+ 2 - 2
apps/app/src/components/DescendantsPageListModal.tsx

@@ -71,14 +71,14 @@ export const DescendantsPageListModal = (): JSX.Element => {
   }, [isSharedUser, status, t]);
 
   const buttons = useMemo(() => (
-    <div className='me-3 text-right'>
+    <span className='me-3'>
       <ExpandOrContractButton
         isWindowExpanded={isWindowExpanded}
         expandWindow={() => setIsWindowExpanded(true)}
         contractWindow={() => setIsWindowExpanded(false)}
       />
       <button type="button" className="btn btn-close" onClick={close} aria-label="Close"></button>
-    </div>
+    </span>
   ), [close, isWindowExpanded]);
 
   if (status == null) {

+ 2 - 2
apps/app/src/components/PageAccessoriesModal/PageAccessoriesModal.tsx

@@ -72,14 +72,14 @@ export const PageAccessoriesModal = (): JSX.Element => {
   }, [t, close, isGuestUser, isReadOnlyUser, isSharedUser, isLinkSharingDisabled]);
 
   const buttons = useMemo(() => (
-    <div className='me-3 text-right'>
+    <span className='me-3'>
       <ExpandOrContractButton
         isWindowExpanded={isWindowExpanded}
         expandWindow={() => setIsWindowExpanded(true)}
         contractWindow={() => setIsWindowExpanded(false)}
       />
       <button type="button" className="btn btn-close" onClick={close} aria-label="Close"></button>
-    </div>
+    </span>
   ), [close, isWindowExpanded]);
 
   if (status == null || status.activatedContents == null) {