浏览代码

merge conflicts

Skylsmoi 6 年前
父节点
当前提交
156dd7378c
共有 2 个文件被更改,包括 19 次插入49 次删除
  1. 9 5
      src/component/PopinFixed/PopinFixed.styl
  2. 10 44
      src/component/Timeline/Timeline.styl

+ 9 - 5
src/component/PopinFixed/PopinFixed.styl 查看文件

@@ -7,7 +7,7 @@
7 7
   border 1px solid grey
8 8
   height 100%
9 9
   background-color lightGrey
10
-  box-shadow shadow-page
10
+  box-shadow shadow-right
11 11
   z-index 4
12 12
   &.visible
13 13
     visibility visible
@@ -107,24 +107,28 @@
107 107
   .wsContentGeneric__content
108 108
     overflow-Y auto
109 109
     &__left
110
+      margin-bottom 20px
110 111
       width 100%
111
-      margin-bottom 50px
112
+      height auto
113
+      &__textnote
114
+        height auto
115
+        overflow-y hidden
112 116
     &__right
113 117
       width 100%
114 118
 
115 119
 @media (min-width: min-sm) and (max-width: max-sm)
116 120
 
117 121
   .wsContentGeneric
118
-    top 70px
122
+    top 68px
119 123
 
120 124
 @media (max-width: max-xs)
121 125
 
122 126
   .wsContentGeneric
123
-    top 70px
127
+    top 68  px
124 128
     &__content
125 129
       overflow-Y auto
126 130
       &__left
127 131
         width 100%
128
-        margin-bottom 50px
132
+        margin-bottom 20px
129 133
       &__right
130 134
         width 100%

+ 10 - 44
src/component/Timeline/Timeline.styl 查看文件

@@ -125,50 +125,16 @@
125 125
 .mce-btn-group:not(:first-child)
126 126
   border-left none!important //remove the left borders of the wysiwyg for a better aesthetic result
127 127
 
128
+@media (min-width: min-lg) and (max-width: max-lg)
129
+  .timeline
130
+    margin 0
128 131
 
129
-/**** MEDIA 576px & 1199px ****/
130
-
131
-@media (min-width: min-sm) and (max-width: max-lg)
132
-
133
-  .timeline__body
134
-    &__messagelist
135
-      min-height 350px
136
-      max-height 700px
137
-      &__item
138
-        margin-right 55px
139
-
140
-/**** MEDIA 576px & 767px ****/
141
-
142
-@media (min-width: min-sm) and (max-width: max-sm)
143
-
144
-  .timeline__body
145
-    &__messagelist__item
146
-      margin-right 35px
147
-    &__texteditor
148
-      display flex
149
-      align-items center
150
-      &__wysiwyg
151
-        width 70%
152
-        & > textarea
153
-          border-radius 5px
154
-          height 40px
155
-      &__submit
156
-        width 30%
157
-        margin-left 10px
158
-
159
-/**** MEDIA 575px ****/
132
+@media (min-width: min-sm) and (max-width: max-md)
133
+  .timeline
134
+    display block
135
+    margin 0
160 136
 
161 137
 @media (max-width: max-xs)
162
-
163
-  .timeline__body
164
-    &__texteditor
165
-      display flex
166
-      align-items center
167
-      &__wysiwyg
168
-        width 70%
169
-        & > textarea
170
-          border-radius 5px
171
-          height 40px
172
-      &__submit
173
-        width 30%
174
-        margin-left 10px
138
+  .timeline
139
+    display block
140
+    margin 0