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 | 50 | if (type == 'normal') { |
51 | 51 | withIcon = false; |
52 | 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 | 54 | <div class="${prefixCls}-title">${title}</div> |
55 | 55 | <div class="${prefixCls}-desc">${desc}</div> |
56 | 56 | </div> |
... | ... | @@ -59,7 +59,7 @@ function notice (type, options) { |
59 | 59 | const iconType = iconTypes[type]; |
60 | 60 | withIcon = true; |
61 | 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 | 63 | <span class="${prefixCls}-icon ${prefixCls}-icon-${type}"> |
64 | 64 | <i class="${iconPrefixCls} ${iconPrefixCls}-${iconType}"></i> |
65 | 65 | </span> |
... | ... | @@ -122,4 +122,4 @@ export default { |
122 | 122 | noticeInstance = null; |
123 | 123 | instance.destroy('ivu-notice'); |
124 | 124 | } |
125 | -}; | |
126 | 125 | \ No newline at end of file |
126 | +}; | ... | ... |