From b9ffca039f8a8b6fecd630720edc0f1d01e799c0 Mon Sep 17 00:00:00 2001 From: kooriookami <38392315+kooriookami@users.noreply.github.com> Date: Sun, 27 Dec 2020 14:15:37 +0800 Subject: [PATCH] style(notification): adjust line-height of title (#1122) --- packages/theme-chalk/src/notification.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/theme-chalk/src/notification.scss b/packages/theme-chalk/src/notification.scss index b81f8ba65d..98dd7ebbfb 100644 --- a/packages/theme-chalk/src/notification.scss +++ b/packages/theme-chalk/src/notification.scss @@ -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; }