Browse Source

字词卡片样式

natasha 7 months ago
parent
commit
38f94c999e
1 changed files with 7 additions and 6 deletions
  1. 7 6
      src/views/wordcard/cread.vue

+ 7 - 6
src/views/wordcard/cread.vue

@@ -474,11 +474,12 @@ export default {
     border-radius: 8px;
     background: #fff;
     padding: 8px;
-    position: fixed;
-    top: 83px;
-    left: 50%;
-    margin-left: -610px;
-    z-index: 1000;
+    margin: 20px auto;
+    // position: fixed;
+    // top: 83px;
+    // left: 50%;
+    // margin-left: -610px;
+    // z-index: 1000;
     border: 1px solid rgba(0, 0, 0, 0.15);
     &-user {
       top: 19px;
@@ -543,7 +544,7 @@ export default {
     }
   }
   .content {
-    padding-top: 88px;
+    // padding-top: 88px;
     &-flex {
       display: flex;
       width: 1218px;