style(notification): adjust line-height of title (#1122)

This commit is contained in:
kooriookami
2020-12-27 14:15:37 +08:00
committed by GitHub
parent 241fb12de2
commit b9ffca039f

View File

@@ -30,6 +30,7 @@
@include e(title) {
font-weight: bold;
font-size: $--notification-title-font-size;
line-height: $--notification-icon-size;
color: $--notification-title-color;
margin: 0;
}
@@ -82,7 +83,7 @@
}
}
.el-notification-fade-enter-from{
.el-notification-fade-enter-from {
&.right {
right: 0;
transform: translateX(100%);
@@ -93,6 +94,7 @@
transform: translateX(-100%);
}
}
.el-notification-fade-leave-to {
opacity: 0;
}