Skip to content

Commit

Permalink
fix: Scope chain icons to modal and button (#514)
Browse files Browse the repository at this point in the history
  • Loading branch information
LautaroPetaccio authored Mar 12, 2024
1 parent af2045c commit 888761b
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions src/components/ChainSelector/ChainSelector.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,38 @@
height: 28px;
}

.ethereum {
.dui-chain-selector__modal .ethereum,
.dui-chain-selector__button .ethereum {
background-image: url('../../assets/chains/ethereum.svg');
}

.bsc {
.dui-chain-selector__modal .bsc,
.dui-chain-selector__button .bsc {
background-image: url('../../assets/chains/bsc.svg');
}

.optimism {
.dui-chain-selector__modal .optimism,
.dui-chain-selector__button .optimism {
background-image: url('../../assets/chains/optimism.svg');
}

.polygon {
.dui-chain-selector__modal .polygon,
.dui-chain-selector__button .polygon {
background-image: url('../../assets/chains/polygon.svg');
}

.fantom {
.dui-chain-selector__modal .fantom,
.dui-chain-selector__button .fantom {
background-image: url('../../assets/chains/fantom.svg');
}

.arbitrum {
.dui-chain-selector__modal .arbitrum,
.dui-chain-selector__button .arbitrum {
background-image: url('../../assets/chains/arbitrum.svg');
}

.avalanche {
.dui-chain-selector__modal .avalanche,
.dui-chain-selector__button .avalanche {
background-image: url('../../assets/chains/avalanche.svg');
}

Expand Down

0 comments on commit 888761b

Please sign in to comment.