mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-09-21 07:28:30 +03:00
chat: remove paddingTop from input
This commit is contained in:
parent
9f234dad63
commit
f6a49d52a8
@ -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') {
|
||||||
|
Loading…
Reference in New Issue
Block a user