kaori 5 лет назад
Родитель
Сommit
7276d5e1bb
1 измененных файлов с 10 добавлено и 8 удалено
  1. 10 8
      src/client/js/components/CommentLinkButton.jsx

+ 10 - 8
src/client/js/components/CommentLinkButton.jsx

@@ -19,14 +19,16 @@ const CommentLinkButton = (props) => {
   const getCommentListDom = useMemo(() => { return document.getElementById('page-comments-list') }, []);
 
   return (
-    <button
-      type="button"
-      className="btn btn-outline-secondary btn-sm"
-      onClick={() => navigationContainer.smoothScrollIntoView(getCommentListDom, WIKI_HEADER_LINK)}
-    >
-      <i className="mr-2 icon-fw icon-bubbles"></i>
-      <span>Comments</span>
-    </button>
+    <div className="mt-3 d-flex justify-content-around">
+      <button
+        type="button"
+        className="btn btn-outline-secondary btn-sm w-100"
+        onClick={() => navigationContainer.smoothScrollIntoView(getCommentListDom, WIKI_HEADER_LINK)}
+      >
+        <i className="mr-2 icon-fw icon-bubbles"></i>
+        <span>Comments</span>
+      </button>
+    </div>
   );
 
 };