mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-10 18:21:34 +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'
|
||||
height='100%'
|
||||
maxHeight='224px'
|
||||
paddingTop='8px'
|
||||
width='calc(100% - 88px)'
|
||||
className={inCodeMode ? 'chat code' : 'chat'}
|
||||
color="black"
|
||||
@ -171,7 +170,7 @@ export default class ChatEditor extends Component {
|
||||
? <BaseInput
|
||||
fontFamily={inCodeMode ? 'Source Code Pro' : 'Inter'}
|
||||
fontSize="14px"
|
||||
style={{ width: '100%', marginTop: '-8px', background: 'transparent', color: 'currentColor' }}
|
||||
style={{ width: '100%', background: 'transparent', color: 'currentColor' }}
|
||||
placeholder={inCodeMode ? "Code..." : "Message..."}
|
||||
onKeyUp={event => {
|
||||
if (event.key === 'Enter') {
|
||||
|
Loading…
Reference in New Issue
Block a user