chat: remove paddingTop from input

This commit is contained in:
Matilde Park 2020-10-22 20:38:13 -04:00
parent 9f234dad63
commit f6a49d52a8

View File

@ -162,7 +162,6 @@ export default class ChatEditor extends Component {
flexGrow='1' flexGrow='1'
height='100%' height='100%'
maxHeight='224px' maxHeight='224px'
paddingTop='8px'
width='calc(100% - 88px)' width='calc(100% - 88px)'
className={inCodeMode ? 'chat code' : 'chat'} className={inCodeMode ? 'chat code' : 'chat'}
color="black" color="black"
@ -171,7 +170,7 @@ export default class ChatEditor extends Component {
? <BaseInput ? <BaseInput
fontFamily={inCodeMode ? 'Source Code Pro' : 'Inter'} fontFamily={inCodeMode ? 'Source Code Pro' : 'Inter'}
fontSize="14px" fontSize="14px"
style={{ width: '100%', marginTop: '-8px', background: 'transparent', color: 'currentColor' }} style={{ width: '100%', background: 'transparent', color: 'currentColor' }}
placeholder={inCodeMode ? "Code..." : "Message..."} placeholder={inCodeMode ? "Code..." : "Message..."}
onKeyUp={event => { onKeyUp={event => {
if (event.key === 'Enter') { if (event.key === 'Enter') {