wangyue217 5 年之前
父节点
当前提交
0f2beb70f7
共有 1 个文件被更改,包括 26 次插入26 次删除
  1. 26 26
      src/packages/notify/notify.scss

+ 26 - 26
src/packages/notify/notify.scss

@@ -1,28 +1,28 @@
 @import '../../styles/variable.scss';
 .nut-notify {
-    box-sizing: border-box;
-    padding: $notify-padding;
-    color: $notify-text-color;
-    font-size: $notify-font-size;
-    line-height: $notify-line-height;
-  
-    white-space: pre-wrap;
-    text-align: center;
-    word-wrap: break-word;
-  
-    &--primary {
-      background-color: $notify-primary-background-color !important;
-    }
-  
-    &--success {
-      background-color: $notify-success-background-color !important;
-    }
-  
-    &--danger {
-      background-color: $notify-danger-background-color !important;
-    }
-  
-    &--warning {
-      background-color: $notify-warning-background-color !important;
-    }
-  }
+  box-sizing: border-box;
+  padding: $notify-padding;
+  color: $notify-text-color;
+  font-size: $notify-font-size;
+  line-height: $notify-line-height;
+
+  white-space: pre-wrap;
+  text-align: center;
+  word-wrap: break-word;
+
+  &--primary {
+    background-color: $notify-primary-background-color;
+  }
+
+  &--success {
+    background-color: $notify-success-background-color;
+  }
+
+  &--danger {
+    background-color: $notify-danger-background-color;
+  }
+
+  &--warning {
+    background-color: $notify-warning-background-color;
+  }
+}