From d5770679190ef2e782ccf75fe48b084150d36b1e Mon Sep 17 00:00:00 2001 From: wangyue217 Date: Thu, 18 Feb 2021 15:39:59 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=A0=B7=E5=BC=8F=E5=A4=A7=E5=B0=8F?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/packages/notify/index.scss | 4 +--- src/styles/variables.scss | 5 +++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/packages/notify/index.scss b/src/packages/notify/index.scss index cedf7318e..124b8d11c 100644 --- a/src/packages/notify/index.scss +++ b/src/packages/notify/index.scss @@ -7,9 +7,6 @@ overflow-y: auto; transition: transform 0.3s; z-index: 9999; - // &.round { - // border-radius: 0 0 $popup-border-radius $popup-border-radius; - // } } .nut-notify { @@ -20,6 +17,7 @@ white-space: pre-wrap; text-align: center; word-wrap: break-word; + height: $notify-height; &--base { background: $notify-base-background-color; } diff --git a/src/styles/variables.scss b/src/styles/variables.scss index 3a517520e..c15b8785a 100644 --- a/src/styles/variables.scss +++ b/src/styles/variables.scss @@ -152,8 +152,9 @@ $zindex-picker: 10050 !default; // Notify $notify-text-color: #fff; -$notify-padding: 8px 16px; -$notify-font-size: 28px; +$notify-padding: 12px 0; +$notify-font-size: 14px; +$notify-height: 44px; $notify-base-background-color: linear-gradient( 135deg, -- GitLab