Select localhost:8545 in the list of networks fix, fix width for Edit account input, hide vertical scroll in main menu
This commit is contained in:
parent
5c89c968be
commit
2528f9ca9e
|
@ -241,7 +241,7 @@ App.prototype.renderAppBar = function () {
|
||||||
|
|
||||||
App.prototype.renderNetworkDropdown = function () {
|
App.prototype.renderNetworkDropdown = function () {
|
||||||
const props = this.props
|
const props = this.props
|
||||||
const { provider: { type: providerType, rpcTarget: activeNetwork } } = props
|
const { provider: { type: providerType } } = props
|
||||||
const rpcList = props.frequentRpcList
|
const rpcList = props.frequentRpcList
|
||||||
const state = this.state || {}
|
const state = this.state || {}
|
||||||
const isOpen = state.isNetworkMenuOpen
|
const isOpen = state.isNetworkMenuOpen
|
||||||
|
@ -385,10 +385,10 @@ App.prototype.renderNetworkDropdown = function () {
|
||||||
style: {
|
style: {
|
||||||
paddingLeft: '20px',
|
paddingLeft: '20px',
|
||||||
fontSize: '16px',
|
fontSize: '16px',
|
||||||
color: activeNetwork === 'http://localhost:8545' ? 'white' : '',
|
color: providerType === 'localhost' ? 'white' : '',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
[h(activeNetwork === 'http://localhost:8545' ? 'div.selected-network' : ''),
|
[h(providerType === 'localhost' ? 'div.selected-network' : ''),
|
||||||
'Localhost 8545',
|
'Localhost 8545',
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
|
|
|
@ -19,6 +19,9 @@ EditableLabel.prototype.render = function () {
|
||||||
h('input.sizing-input', {
|
h('input.sizing-input', {
|
||||||
defaultValue: props.textValue,
|
defaultValue: props.textValue,
|
||||||
maxLength: '20',
|
maxLength: '20',
|
||||||
|
style: {
|
||||||
|
width: '146px',
|
||||||
|
},
|
||||||
onKeyPress: (event) => {
|
onKeyPress: (event) => {
|
||||||
this.saveIfEnter(event)
|
this.saveIfEnter(event)
|
||||||
},
|
},
|
||||||
|
|
|
@ -28,6 +28,19 @@ html {
|
||||||
min-height: 500px;
|
min-height: 500px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.account-detail-section::-webkit-scrollbar {
|
||||||
|
width: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.account-detail-section::-webkit-scrollbar-track {
|
||||||
|
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
|
||||||
|
}
|
||||||
|
|
||||||
|
.account-detail-section::-webkit-scrollbar-thumb {
|
||||||
|
background-color: darkgrey;
|
||||||
|
outline: 1px solid slategrey;
|
||||||
|
}
|
||||||
|
|
||||||
.app-root {
|
.app-root {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
position: relative
|
position: relative
|
||||||
|
|
Loading…
Reference in New Issue