Browse Source

fixed width of timeline

Skylsmoi 6 years ago
parent
commit
79ad87a297
2 changed files with 3 additions and 4 deletions
  1. 3 0
      src/css/Timeline.styl
  2. 0 4
      src/plugin/ContentType/PageHtml/PageHtml.styl

+ 3 - 0
src/css/Timeline.styl View File

2
   display flex
2
   display flex
3
   flex-direction column
3
   flex-direction column
4
   margin 10px
4
   margin 10px
5
+  border-radius 10px
6
+  width 45%
7
+  height 100%
5
   &__header
8
   &__header
6
     border-radius 10px 10px 0 0
9
     border-radius 10px 10px 0 0
7
     padding 15px
10
     padding 15px

+ 0 - 4
src/plugin/ContentType/PageHtml/PageHtml.styl View File

22
         opacity 0.7
22
         opacity 0.7
23
       &__text
23
       &__text
24
         font-size 14px
24
         font-size 14px
25
-    &__wrapper
26
-      border-radius 10px
27
-      width 45%
28
-      height 100%
29
     &__header
25
     &__header
30
       border-top-left-radius 10px
26
       border-top-left-radius 10px
31
       border-top-right-radius 10px
27
       border-top-right-radius 10px