Skip to content

Commit

Permalink
added hover to address copy button
Browse files Browse the repository at this point in the history
  • Loading branch information
NidhiKJha committed Jan 31, 2024
1 parent 0c20608 commit a8a53b1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions ui/components/multichain/app-header/app-header.js
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ export const AppHeader = ({ location }) => {
title={copied ? t('addressCopied') : null}
>
<ButtonBase
className="multichain-app-header__address-copy-button"
onClick={() => handleCopy(checksummedCurrentAddress)}
size={ButtonBaseSize.Sm}
backgroundColor={BackgroundColor.transparent}
Expand Down
8 changes: 8 additions & 0 deletions ui/components/multichain/app-header/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@
}
}

&__address-copy-button {
&:not([disabled]):hover,
&:not([disabled]):focus {
box-shadow: none;
background: var(--color-background-default-hover);
}
}

&__lock-contents {
flex-flow: row nowrap;
height: 68px;
Expand Down

0 comments on commit a8a53b1

Please sign in to comment.