@@ -139,7 +139,7 @@ export const Edit = () => {
139139 </ div >
140140
141141 </ div >
142-
142+
143143 </ div >
144144 </ div >
145145 < div className = "container" style = { { marginBottom : '29px' , marginTop : '-15px' } } >
@@ -148,16 +148,16 @@ export const Edit = () => {
148148 {
149149 preview ? < div className = "container50" style = { { width : '70%' , margin : 'auto' } } >
150150 < h1 > { title } </ h1 >
151- < div className = "tags" style = { { marginTop :'-8px' , marginLeft :'-6px' } } >
151+ < div className = "tags" style = { { marginTop : '-8px' , marginLeft : '-6px' } } >
152152
153153 {
154- tags && tags . split ( ',' ) . map ( item =>
154+ tags && tags . split ( ',' ) . map ( item =>
155155 < Chip name = { item } dark = { context . dark } />
156156 )
157157
158158 }
159159 </ div >
160- < div style = { { height : '99.8vh' , overflow : 'scroll ' } } >
160+ < div style = { { height : '99.8vh' , overflow : 'auto ' } } >
161161 < Markdown options = { {
162162 forceBlock : true ,
163163 overrides : {
@@ -173,9 +173,9 @@ export const Edit = () => {
173173 </ Markdown >
174174 </ div >
175175 </ 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 >
179179 < 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 >
180180 </ div >
181181 }
0 commit comments