Преглед изворни кода

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>
     );
   }