From 888761b095d7929f10d1e805f461a0cd5af8edaa Mon Sep 17 00:00:00 2001 From: Lautaro Petaccio <1120791+LautaroPetaccio@users.noreply.github.com> Date: Tue, 12 Mar 2024 09:31:54 -0300 Subject: [PATCH] fix: Scope chain icons to modal and button (#514) --- .../ChainSelector/ChainSelector.css | 21 ++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/src/components/ChainSelector/ChainSelector.css b/src/components/ChainSelector/ChainSelector.css index 13c4e1ec..0af6b50d 100644 --- a/src/components/ChainSelector/ChainSelector.css +++ b/src/components/ChainSelector/ChainSelector.css @@ -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'); }