mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-24 12:45:18 +08:00
fix(notification): close mark conflict with content
This commit is contained in:
parent
d08d6a1f8f
commit
5af5d2e59d
@ -3,6 +3,7 @@
|
|||||||
:class="{
|
:class="{
|
||||||
[`n-${theme}-theme`]: theme,
|
[`n-${theme}-theme`]: theme,
|
||||||
'n-notification--no-avatar': noAvatar,
|
'n-notification--no-avatar': noAvatar,
|
||||||
|
'n-notification--closable': closable,
|
||||||
[`n-notification--${type}-type`]: type
|
[`n-notification--${type}-type`]: type
|
||||||
}"
|
}"
|
||||||
class="n-notification"
|
class="n-notification"
|
||||||
|
@ -86,6 +86,13 @@
|
|||||||
width: calc(100% - 8px);
|
width: calc(100% - 8px);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@include m(closable) {
|
||||||
|
@include b(notification-main) {
|
||||||
|
& > *:first-child {
|
||||||
|
padding-right: 20px
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@include e(close) {
|
@include e(close) {
|
||||||
@include once {
|
@include once {
|
||||||
|
Loading…
Reference in New Issue
Block a user