mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-06 12:17:13 +08:00
fix(notification): close mark conflict with content
This commit is contained in:
parent
d08d6a1f8f
commit
5af5d2e59d
@ -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"
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user