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 {
|
.networkSwitchButton span {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
color: $brand-grey-light;
|
color: $brand-grey-light;
|
||||||
text-transform: capitalize;
|
|
||||||
min-width: 80px;
|
min-width: 80px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.networkSwitchButton span:first-letter {
|
||||||
|
text-transform: capitalize;
|
||||||
|
}
|
||||||
|
|
||||||
.networkList {
|
.networkList {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
border-radius: 0 0 $border-radius $border-radius;
|
border-radius: 0 0 $border-radius $border-radius;
|
||||||
@ -91,7 +94,6 @@ $localSpacer: $spacer / 7;
|
|||||||
color: $brand-black;
|
color: $brand-black;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
display: block;
|
display: block;
|
||||||
text-transform: capitalize;
|
|
||||||
border: none;
|
border: none;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: none;
|
background: none;
|
||||||
@ -99,6 +101,10 @@ $localSpacer: $spacer / 7;
|
|||||||
padding: $localSpacer $localSpacer * 2;
|
padding: $localSpacer $localSpacer * 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.listButton:first-letter {
|
||||||
|
text-transform: capitalize;
|
||||||
|
}
|
||||||
|
|
||||||
.selected .listButton,
|
.selected .listButton,
|
||||||
.networkList li:hover {
|
.networkList li:hover {
|
||||||
font-weight: $font-weight-bold;
|
font-weight: $font-weight-bold;
|
||||||
|
@ -75,7 +75,9 @@ export function NetworkSwitcher() {
|
|||||||
className={styles.listButton}
|
className={styles.listButton}
|
||||||
onClick={() => switchNetwork(networkName)}
|
onClick={() => switchNetwork(networkName)}
|
||||||
>
|
>
|
||||||
{networkName}
|
{networkName === 'spree'
|
||||||
|
? `${networkName} (local)`
|
||||||
|
: networkName}
|
||||||
</button>
|
</button>
|
||||||
</li>
|
</li>
|
||||||
))}
|
))}
|
||||||
|
Loading…
Reference in New Issue
Block a user