فهرست منبع

fix "Add Comment" label layout

Yuki Takei 5 سال پیش
والد
کامیت
58020fafae
1فایلهای تغییر یافته به همراه9 افزوده شده و 7 حذف شده
  1. 9 7
      src/client/js/components/PageComment/CommentEditor.jsx

+ 9 - 7
src/client/js/components/PageComment/CommentEditor.jsx

@@ -241,13 +241,15 @@ class CommentEditor extends React.Component {
 
   renderBeforeReady() {
     return (
-      <button
-        type="button"
-        className="btn btn-lg btn-link center-block"
-        onClick={() => this.setState({ isReadyToUse: true })}
-      >
-        <i className="icon-bubble"></i> Add Comment
-      </button>
+      <div className="text-center">
+        <button
+          type="button"
+          className="btn btn-lg btn-link"
+          onClick={() => this.setState({ isReadyToUse: true })}
+        >
+          <i className="icon-bubble"></i> Add Comment
+        </button>
+      </div>
     );
   }