Skip to content

Commit

Permalink
Merge pull request metaplex-foundation#7 from DanielFLopez/feature/ux…
Browse files Browse the repository at this point in the history
…-improvements

fix dropdown style
  • Loading branch information
yamijuan authored Oct 13, 2021
2 parents 754ff4e + 10fed3e commit cee16ac
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/packages/common/src/components/ConnectButton/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const ConnectButton = (props: ConnectButtonProps) => {
onClick={handleClick}
disabled={connected && disabled}
overlay={
<Menu>
<Menu className={'black-dropdown'}>
<Menu.Item onClick={open}>Change Wallet</Menu.Item>
</Menu>
}
Expand Down
10 changes: 9 additions & 1 deletion js/packages/web/src/views/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@
.connector {
color: #121212;
border-color: #121212;
background-color: #FFFFFF !important;
box-shadow: 0px 0px 24px rgba(26, 26, 26, 0.12);
border-radius: 8px;
padding: 12px 20px;
Expand Down Expand Up @@ -387,3 +386,12 @@ h2 {
font-size: 0.8rem;
margin-bottom: 10px;
}

.black-dropdown {
background-color: #121212;

.ant-dropdown-menu-item:hover {
background-color: white;
color: black;
}
}

0 comments on commit cee16ac

Please sign in to comment.