|
@@ -411,13 +411,7 @@ class Editor extends React.Component {
|
411
|
411
|
});
|
412
|
412
|
}}
|
413
|
413
|
content={
|
414
|
|
- <div
|
415
|
|
- style={{
|
416
|
|
- width: 336, // 一行显示3张
|
417
|
|
- minHeight: 100,
|
418
|
|
- margin: "0 auto"
|
419
|
|
- }}
|
420
|
|
- >
|
|
414
|
+ <div className="comment-img-popover">
|
421
|
415
|
<Upload
|
422
|
416
|
onRef={node => (this.uploadRef = node)}
|
423
|
417
|
multiple={multiple}
|
|
@@ -432,11 +426,11 @@ class Editor extends React.Component {
|
432
|
426
|
</div>
|
433
|
427
|
}
|
434
|
428
|
title={
|
435
|
|
- <div style={{ margin: "5px auto" }}>
|
|
429
|
+ <div className="comment-img-title">
|
436
|
430
|
<span>
|
437
|
431
|
{intl.get("editor.uploadTip")}
|
438
|
432
|
{maxUpload >= 2 ? (
|
439
|
|
- <span style={{ color: "#666", fontWeight: 400 }}>
|
|
433
|
+ <span className="comment-img-title-counter">
|
440
|
434
|
{intl.get("editor.uploadCount", {
|
441
|
435
|
count: maxUpload - uploadFileList.length
|
442
|
436
|
})}
|