itizawa 5 лет назад
Родитель
Сommit
45d096c9de
1 измененных файлов с 13 добавлено и 6 удалено
  1. 13 6
      src/client/js/components/Navbar/GrowiSubNavigation.jsx

+ 13 - 6
src/client/js/components/Navbar/GrowiSubNavigation.jsx

@@ -182,13 +182,20 @@ const GrowiSubNavigation = (props) => {
             { !isPageInTrash && !isPageNotFound && !isPageForbidden && <PageReactionButtons appContainer={appContainer} pageContainer={pageContainer} /> }
             { !isPageNotFound && !isPageForbidden && <PageManagement /> }
           </div>
-          <div className="mt-2">
+          <div className="mt-2 d-flex">
             { !isCreatable && !isPageInTrash && (
-              <ThreeStrandedButton
-                onThreeStrandedButtonClicked={onThreeStrandedButtonClicked}
-                isBtnDisabled={currentUser == null}
-                editorMode={editorMode}
-              />
+            <ThreeStrandedButton
+              onThreeStrandedButtonClicked={onThreeStrandedButtonClicked}
+              isBtnDisabled={currentUser == null}
+              editorMode={editorMode}
+            />
+            )}
+            { isUserPage && (
+              <ul className="authors text-nowrap d-none d-lg-block d-edit-none py-0">
+                <li className="pb-1">
+                  <AuthorInfo user={creator} date={createdAt} />
+                </li>
+              </ul>
             )}
           </div>
         </div>