Parcourir la source

症状间距调整

luolei il y a 5 ans
Parent
commit
26c5cdb6a6
1 fichiers modifiés avec 6 ajouts et 4 suppressions
  1. 6 4
      src/components/Symptom.vue

+ 6 - 4
src/components/Symptom.vue

@@ -467,6 +467,8 @@ export default {
 }
 }
 .choose{
 .choose{
   padding-bottom: .2rem;
   padding-bottom: .2rem;
+  position: relative;
+  left: -0.12rem;
   .choo-symp{
   .choo-symp{
       display: inline-block;
       display: inline-block;
       min-width:2rem;
       min-width:2rem;
@@ -474,7 +476,7 @@ export default {
       background: #colors[btn];
       background: #colors[btn];
       border-radius: .08rem;
       border-radius: .08rem;
       white-space: nowrap;
       white-space: nowrap;
-      margin: 0 .25rem .3rem 0;
+      margin: 0 .12rem .3rem 0.12rem;
       span{
       span{
         display: inline-block;
         display: inline-block;
         vertical-align: top;
         vertical-align: top;
@@ -491,9 +493,9 @@ export default {
         height: .74rem;
         height: .74rem;
       }
       }
     }
     }
-    .choo-symp:nth-child(3n+3){
-      margin-right: 0;
-    }
+    // .choo-symp:nth-child(3n+3){
+    //   margin-right: 0;
+    // }
   .label{
   .label{
     .label;
     .label;
   }
   }