Browse Source

fix(frontend): 修复打包后登陆页css优先级的问题

Signed-off-by: Myon <[email protected]>
Myon 3 years ago
parent
commit
4fecba1575
1 changed files with 1 additions and 2 deletions
  1. 1 2
      frontend/src/pages/access/login/LoginBgArea.vue

+ 1 - 2
frontend/src/pages/access/login/LoginBgArea.vue

@@ -19,11 +19,10 @@
 
 <style scoped>
 .area {
-  background: url(/images/sprinkle.svg);
+  background-image: url(/images/sprinkle.svg), linear-gradient(to left, #8f94fb, #4e54c8);
   background-size: cover;
   background-position: center;
   background-repeat: no-repeat;
-  background: -webkit-linear-gradient(to left, #8f94fb, #4e54c8);
   width: 100vw;
   height: 100vh;
   position: fixed;