1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Align copy tooltip text and icon (#8861)

Add style prop to ReactTippy to override the inline display to flex display and align items to center
This commit is contained in:
Thomas Huang 2020-06-24 15:34:18 -07:00 committed by GitHub
parent 242db43700
commit 85c81a5cfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 9 deletions

View File

@ -268,6 +268,7 @@ export default class ConfirmDecryptMessage extends Component {
position="bottom"
title={hasCopied ? t('copiedExclamation') : t('copyToClipboard')}
wrapperClassName="request-decrypt-message__message-copy-tooltip"
style={{ display: 'flex', alignItems: 'center' }}
>
<div
className="request-decrypt-message__message-copy-text"