Browse Source

Css fix on the timeline and editionmode

AlexiCauvin 6 years ago
parent
commit
9d3f9aabd7

File diff suppressed because it is too large
+ 1 - 1
dist/tracim_lib.js


+ 1 - 1
src/component/Input/TextAreaApp/TextAreaApp.jsx View File

6
 export const TextAreaApp = props =>
6
 export const TextAreaApp = props =>
7
   <form className={`${props.customClass} editionmode`}>
7
   <form className={`${props.customClass} editionmode`}>
8
     <textarea
8
     <textarea
9
-      className={`${props.customClass}__text editionmode__text`}
9
+      className={`${props.customClass}__text editionmode__text wysiwygtext`}
10
       value={props.text}
10
       value={props.text}
11
       onChange={props.onChangeText}
11
       onChange={props.onChangeText}
12
     />
12
     />

+ 5 - 7
src/component/Timeline/Timeline.styl View File

67
   &__texteditor
67
   &__texteditor
68
     flex 0 1 auto
68
     flex 0 1 auto
69
     border-top 1px solid grey
69
     border-top 1px solid grey
70
-    padding 25px 10px
70
+    padding 45px 10px
71
     &__textinput
71
     &__textinput
72
       width 70%
72
       width 70%
73
       & > textarea
73
       & > textarea
83
     &__submit
83
     &__submit
84
       margin 10px 0
84
       margin 10px 0
85
       &__btn
85
       &__btn
86
-        display flex
87
-        width 118px
86
+        display inline-block
88
         cursor pointer
87
         cursor pointer
89
-        &:hover , &:focus
90
-          box-shadow shadow-all-btn
91
         &__icon
88
         &__icon
92
-          margin-left 10px
89
+          display inline-block
90
+          margin-left 20px
93
 
91
 
94
 .received
92
 .received
95
   text-align right
93
   text-align right
106
   .timeline
104
   .timeline
107
     &__texteditor
105
     &__texteditor
108
       padding 10px
106
       padding 10px
109
-      height 220px
107
+      height 1500px
110
       &__textinput
108
       &__textinput
111
         width 100%
109
         width 100%
112
       &__wrapper
110
       &__wrapper