@@ -139,7 +139,7 @@ export const Edit = () => {
139
139
</ div >
140
140
141
141
</ div >
142
-
142
+
143
143
</ div >
144
144
</ div >
145
145
< div className = "container" style = { { marginBottom : '29px' , marginTop : '-15px' } } >
@@ -148,16 +148,16 @@ export const Edit = () => {
148
148
{
149
149
preview ? < div className = "container50" style = { { width : '70%' , margin : 'auto' } } >
150
150
< h1 > { title } </ h1 >
151
- < div className = "tags" style = { { marginTop :'-8px' , marginLeft :'-6px' } } >
151
+ < div className = "tags" style = { { marginTop : '-8px' , marginLeft : '-6px' } } >
152
152
153
153
{
154
- tags && tags . split ( ',' ) . map ( item =>
154
+ tags && tags . split ( ',' ) . map ( item =>
155
155
< Chip name = { item } dark = { context . dark } />
156
156
)
157
157
158
158
}
159
159
</ div >
160
- < div style = { { height : '99.8vh' , overflow : 'scroll ' } } >
160
+ < div style = { { height : '99.8vh' , overflow : 'auto ' } } >
161
161
< Markdown options = { {
162
162
forceBlock : true ,
163
163
overrides : {
@@ -173,9 +173,9 @@ export const Edit = () => {
173
173
</ Markdown >
174
174
</ div >
175
175
</ div > : < div className = "container50" style = { { width : '70%' , margin : 'auto' } } >
176
- < textarea value = { title } onChange = { e => setTitle ( e . target . value ) } style = { { backgroundColor : ! context . dark ? 'rgb(248, 248, 248)' : '#202020' , color : 'inherit' , padding : '15px' , border : 'none' , borderRadius : '5px' , outline : 'none' , resize : 'none' , width : '100%' , height : '78px' , fontSize : '14px' , marginBottom :'-1.2px' } } placeholder = 'Title of the blog *' > </ textarea >
177
- < textarea value = { tags } onChange = { e => { setTags ( e . target . value ) ; } } className = 'boxins' style = { { backgroundColor : ! context . dark ? 'rgb(248, 248, 248)' : '#202020' , color : 'inherit' , padding : '15px' , border : 'none' , borderRadius : '5px' , outline : 'none' , resize : 'none' , width : '100%' , height : '55px' , fontSize : '14px' , marginBottom :'-1.2px' } } placeholder = 'Enter tags (eg : javscript,typescript)' > </ textarea >
178
- < textarea value = { summary } onChange = { e => setSummary ( e . target . value ) } className = 'boxins' style = { { backgroundColor : ! context . dark ? 'rgb(248, 248, 248)' : '#202020' , color : 'inherit' , padding : '15px' , border : 'none' , borderRadius : '5px' , outline : 'none' , resize : 'none' , width : '100%' , height : '135px' , fontSize : '14px' , marginBottom :'-1.2px' } } placeholder = 'Summary of the post *' > </ textarea >
176
+ < textarea value = { title } onChange = { e => setTitle ( e . target . value ) } style = { { backgroundColor : ! context . dark ? 'rgb(248, 248, 248)' : '#202020' , color : 'inherit' , padding : '15px' , border : 'none' , borderRadius : '5px' , outline : 'none' , resize : 'none' , width : '100%' , height : '78px' , fontSize : '14px' , marginBottom : '-1.2px' } } placeholder = 'Title of the blog *' > </ textarea >
177
+ < textarea value = { tags } onChange = { e => { setTags ( e . target . value ) ; } } className = 'boxins' style = { { backgroundColor : ! context . dark ? 'rgb(248, 248, 248)' : '#202020' , color : 'inherit' , padding : '15px' , border : 'none' , borderRadius : '5px' , outline : 'none' , resize : 'none' , width : '100%' , height : '55px' , fontSize : '14px' , marginBottom : '-1.2px' } } placeholder = 'Enter tags (eg : javscript,typescript)' > </ textarea >
178
+ < textarea value = { summary } onChange = { e => setSummary ( e . target . value ) } className = 'boxins' style = { { backgroundColor : ! context . dark ? 'rgb(248, 248, 248)' : '#202020' , color : 'inherit' , padding : '15px' , border : 'none' , borderRadius : '5px' , outline : 'none' , resize : 'none' , width : '100%' , height : '135px' , fontSize : '14px' , marginBottom : '-1.2px' } } placeholder = 'Summary of the post *' > </ textarea >
179
179
< textarea style = { { width : '100%' , backgroundColor : ! context . dark ? 'rgb(248, 248, 248)' : '#202020' , color : 'inherit' , padding : '15px' , border : 'none' , borderRadius : '5px' , outline : 'none' , minHeight : '84vh' , resize : 'none' } } value = { value } onChange = { e => setValue ( e . target . value ) } spellCheck = "false" > </ textarea >
180
180
</ div >
181
181
}
0 commit comments