Просмотр исходного кода

fix "Add Comment" label layout

Yuki Takei 5 лет назад
Родитель
Сommit
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>
     );
   }