chat: add editor padding on mobile

This commit is contained in:
Matilde Park 2021-01-19 15:44:20 -05:00
parent 7ba6efbca2
commit d0a276fd43

View File

@ -193,6 +193,8 @@ export default class ChatEditor extends Component {
alignItems='center'
flexGrow='1'
height='100%'
paddingTop={MOBILE_BROWSER_REGEX.test(navigator.userAgent) ? '16px' : '0'}
paddingBottom={MOBILE_BROWSER_REGEX.test(navigator.userAgent) ? '16px' : '0'}
maxHeight='224px'
width='calc(100% - 88px)'
className={inCodeMode ? 'chat code' : 'chat'}