浏览代码

feat: 样式大小修改

wangyue217 4 年之前
父节点
当前提交
d577067919
共有 2 个文件被更改,包括 4 次插入5 次删除
  1. 1 3
      src/packages/notify/index.scss
  2. 3 2
      src/styles/variables.scss

+ 1 - 3
src/packages/notify/index.scss

@@ -7,9 +7,6 @@
   overflow-y: auto;
   overflow-y: auto;
   transition: transform 0.3s;
   transition: transform 0.3s;
   z-index: 9999;
   z-index: 9999;
-  // &.round {
-  //   border-radius: 0 0 $popup-border-radius $popup-border-radius;
-  // }
 }
 }
 
 
 .nut-notify {
 .nut-notify {
@@ -20,6 +17,7 @@
   white-space: pre-wrap;
   white-space: pre-wrap;
   text-align: center;
   text-align: center;
   word-wrap: break-word;
   word-wrap: break-word;
+  height: $notify-height;
   &--base {
   &--base {
     background: $notify-base-background-color;
     background: $notify-base-background-color;
   }
   }

+ 3 - 2
src/styles/variables.scss

@@ -152,8 +152,9 @@ $zindex-picker: 10050 !default;
 
 
 // Notify
 // Notify
 $notify-text-color: #fff;
 $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(
 $notify-base-background-color: linear-gradient(
   135deg,
   135deg,