Browse Source

:lipstack: 调整大图样式课程标题间距

zhanghe 6 years ago
parent
commit
b1a4b72046
1 changed files with 3 additions and 4 deletions
  1. 3 4
      src/stage/index/style/CLScene.less

+ 3 - 4
src/stage/index/style/CLScene.less

@@ -102,7 +102,9 @@
                     border-radius: 0 0 0.2rem 0.2rem;
                     border-radius: 0 0 0.2rem 0.2rem;
                     p {
                     p {
                         width: 100%;
                         width: 100%;
-                        margin-top: 0.12rem;
+                        &:first-child {
+                            margin-top: 0.2rem;
+                        }
                         // margin-left: 0.32rem;
                         // margin-left: 0.32rem;
                         font-size: 0.28rem;
                         font-size: 0.28rem;
                         line-height: 0.28rem;
                         line-height: 0.28rem;
@@ -110,9 +112,6 @@
                         text-align: center;
                         text-align: center;
                         overflow: hidden;
                         overflow: hidden;
                     }
                     }
-                    .subject-sub {
-                        margin-top: 0.16rem;
-                    }
                 }
                 }
             }
             }
             &.fe-focus .training-item-frame {
             &.fe-focus .training-item-frame {