fix(theme-chalk): [message-box] el-message-box__status position may o… (#6614)

* fix(theme-chalk): [message-box] el-message-box__status position may override by el-icon

* fix(theme-chalk): [message-box] use class selector
This commit is contained in:
Hefty 2022-03-14 19:48:28 +08:00 committed by GitHub
parent be0f72577b
commit 15d543d69f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,6 +121,11 @@
padding-left: 1px;
}
&.#{$namespace}-icon {
// 防止 el-icon 的position样式覆盖
position: absolute;
}
+ .#{$namespace}-message-box__message {
padding-left: 36px;
padding-right: 12px;