mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
add Spree(local) to netowrk list popover
This commit is contained in:
parent
5a782eeae8
commit
4b3925eff3
@ -59,11 +59,14 @@ $localSpacer: $spacer / 7;
|
||||
.networkSwitchButton span {
|
||||
display: inline-block;
|
||||
color: $brand-grey-light;
|
||||
text-transform: capitalize;
|
||||
min-width: 80px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.networkSwitchButton span:first-letter {
|
||||
text-transform: capitalize;
|
||||
}
|
||||
|
||||
.networkList {
|
||||
position: absolute;
|
||||
border-radius: 0 0 $border-radius $border-radius;
|
||||
@ -91,7 +94,6 @@ $localSpacer: $spacer / 7;
|
||||
color: $brand-black;
|
||||
text-align: left;
|
||||
display: block;
|
||||
text-transform: capitalize;
|
||||
border: none;
|
||||
width: 100%;
|
||||
background: none;
|
||||
@ -99,6 +101,10 @@ $localSpacer: $spacer / 7;
|
||||
padding: $localSpacer $localSpacer * 2;
|
||||
}
|
||||
|
||||
.listButton:first-letter {
|
||||
text-transform: capitalize;
|
||||
}
|
||||
|
||||
.selected .listButton,
|
||||
.networkList li:hover {
|
||||
font-weight: $font-weight-bold;
|
||||
|
@ -75,7 +75,9 @@ export function NetworkSwitcher() {
|
||||
className={styles.listButton}
|
||||
onClick={() => switchNetwork(networkName)}
|
||||
>
|
||||
{networkName}
|
||||
{networkName === 'spree'
|
||||
? `${networkName} (local)`
|
||||
: networkName}
|
||||
</button>
|
||||
</li>
|
||||
))}
|
||||
|
Loading…
Reference in New Issue
Block a user