chenlei 6 ماه پیش
والد
کامیت
5b6fa39b4c
1فایلهای تغییر یافته به همراه7 افزوده شده و 5 حذف شده
  1. 7 5
      style/index.scss

+ 7 - 5
style/index.scss

@@ -682,12 +682,14 @@ body {
     white-space: pre-line;
   }
 
-  .required::before {
-    content: '*';
-    color: #F56C6C;
-    margin-right: 4px;
+  .required {
+    &::before {
+      content: '*';
+      color: #F56C6C;
+      margin-right: 4px;
+    }
 
-    &.bigger {
+    &.bigger::before {
       font-size: $bs-fz;
     }
   }