handle text overflow in CopyButton

This commit is contained in:
Pavel Prichodko 2022-06-14 11:26:10 +02:00
parent 90292ba42e
commit e0f5c2ae12
No known key found for this signature in database
GPG Key ID: 0EB8D75C775AB6F1
1 changed files with 5 additions and 0 deletions

View File

@ -2,6 +2,11 @@ import { styled } from '~/src/styles/config'
export const Wrapper = styled('div', { export const Wrapper = styled('div', {
position: 'relative', position: 'relative',
input: {
paddingRight: 82,
textOverflow: 'ellipsis',
},
}) })
export const CopyButton = styled('button', { export const CopyButton = styled('button', {