瀏覽代碼

add editor container class.

narro 6 年之前
父節點
當前提交
3497d151a1
共有 3 個文件被更改,包括 3 次插入3 次删除
  1. 1
    1
      lib/components/Editor/index.js
  2. 1
    1
      lib/components/Editor/index.js.map
  3. 1
    1
      src/components/Editor/index.js

+ 1
- 1
lib/components/Editor/index.js 查看文件

@@ -272,7 +272,7 @@ var Editor = function (_React$Component) {
272 272
       var inputValue = value || this.state.value;
273 273
       return _react2.default.createElement(
274 274
         "div",
275
-        null,
275
+        { className: "comment-editor-container" },
276 276
         _react2.default.createElement(
277 277
           "div",
278 278
           {

+ 1
- 1
lib/components/Editor/index.js.map
文件差異過大導致無法顯示
查看文件


+ 1
- 1
src/components/Editor/index.js 查看文件

@@ -173,7 +173,7 @@ class Editor extends React.Component {
173 173
       (!this.props.value && !this.state.value && !this.state.fileList.length);
174 174
     const inputValue = value || this.state.value;
175 175
     return (
176
-      <div>
176
+      <div className="comment-editor-container">
177 177
         <div
178 178
           className={classnames({
179 179
             "comment-editor-toolbar": true,