fix(notification): close mark conflict with content

This commit is contained in:
07akioni 2020-01-09 17:39:18 +08:00
parent d08d6a1f8f
commit 5af5d2e59d
2 changed files with 8 additions and 0 deletions

View File

@ -3,6 +3,7 @@
:class="{
[`n-${theme}-theme`]: theme,
'n-notification--no-avatar': noAvatar,
'n-notification--closable': closable,
[`n-notification--${type}-type`]: type
}"
class="n-notification"

View File

@ -86,6 +86,13 @@
width: calc(100% - 8px);
}
}
@include m(closable) {
@include b(notification-main) {
& > *:first-child {
padding-right: 20px
}
}
}
}
@include e(close) {
@include once {