ryoji-s 2 лет назад
Родитель
Сommit
b23331a745

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

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