fix(bot): mobile keyboard covering input
This commit is contained in:
@@ -5,3 +5,7 @@ export const sanitizeUrl = (url: string): string =>
|
||||
url.startsWith('sms:')
|
||||
? url
|
||||
: `https://${url}`
|
||||
|
||||
export const isMobile =
|
||||
typeof window !== 'undefined' &&
|
||||
window.matchMedia('only screen and (max-width: 760px)').matches
|
||||
|
||||
Reference in New Issue
Block a user