Commit ab26fdc6dbaf91acc1df0d15316132ca9d2da774
Committed by
GitHub
1 parent
17d9922b
Class string error
Lack of space causes style display errors
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
src/components/notice/index.js
| @@ -50,7 +50,7 @@ function notice (type, options) { | @@ -50,7 +50,7 @@ function notice (type, options) { | ||
| 50 | if (type == 'normal') { | 50 | if (type == 'normal') { |
| 51 | withIcon = false; | 51 | withIcon = false; |
| 52 | content = ` | 52 | content = ` |
| 53 | - <div class="${prefixCls}-custom-content ${prefixCls}-with-normal${with_desc}"> | 53 | + <div class="${prefixCls}-custom-content ${prefixCls}-with-normal ${with_desc}"> |
| 54 | <div class="${prefixCls}-title">${title}</div> | 54 | <div class="${prefixCls}-title">${title}</div> |
| 55 | <div class="${prefixCls}-desc">${desc}</div> | 55 | <div class="${prefixCls}-desc">${desc}</div> |
| 56 | </div> | 56 | </div> |
| @@ -59,7 +59,7 @@ function notice (type, options) { | @@ -59,7 +59,7 @@ function notice (type, options) { | ||
| 59 | const iconType = iconTypes[type]; | 59 | const iconType = iconTypes[type]; |
| 60 | withIcon = true; | 60 | withIcon = true; |
| 61 | content = ` | 61 | content = ` |
| 62 | - <div class="${prefixCls}-custom-content ${prefixCls}-with-icon ${prefixCls}-with-${type}${with_desc}"> | 62 | + <div class="${prefixCls}-custom-content ${prefixCls}-with-icon ${prefixCls}-with-${type} ${with_desc}"> |
| 63 | <span class="${prefixCls}-icon ${prefixCls}-icon-${type}"> | 63 | <span class="${prefixCls}-icon ${prefixCls}-icon-${type}"> |
| 64 | <i class="${iconPrefixCls} ${iconPrefixCls}-${iconType}"></i> | 64 | <i class="${iconPrefixCls} ${iconPrefixCls}-${iconType}"></i> |
| 65 | </span> | 65 | </span> |
| @@ -122,4 +122,4 @@ export default { | @@ -122,4 +122,4 @@ export default { | ||
| 122 | noticeInstance = null; | 122 | noticeInstance = null; |
| 123 | instance.destroy('ivu-notice'); | 123 | instance.destroy('ivu-notice'); |
| 124 | } | 124 | } |
| 125 | -}; | ||
| 126 | \ No newline at end of file | 125 | \ No newline at end of file |
| 126 | +}; |