mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Remove gas slider from advance-tab-content.component
This commit is contained in:
parent
d55a2615a4
commit
3b9ec8e1bc
@ -4,7 +4,6 @@ import {
|
||||
MIN_GAS_PRICE_DEC,
|
||||
MIN_GAS_LIMIT_DEC,
|
||||
} from '../../../send/send.constants'
|
||||
import GasSlider from '../../gas-slider'
|
||||
import TimeRemaining from './time-remaining'
|
||||
|
||||
export default class AdvancedTabContent extends Component {
|
||||
@ -98,20 +97,6 @@ export default class AdvancedTabContent extends Component {
|
||||
{ this.context.t('feeChartTitle') }
|
||||
</div>
|
||||
<div className="advanced-tab__fee-chart" />
|
||||
<div className="advanced-tab__slider-container">
|
||||
<GasSlider
|
||||
onChange={value => {
|
||||
updateCustomGasPrice(Number(value))
|
||||
}}
|
||||
lowLabel={'Cheaper'}
|
||||
highLabel={'Faster'}
|
||||
value={customGasPrice}
|
||||
step={0.1}
|
||||
max={200}
|
||||
min={0}
|
||||
coloredStart={{}}
|
||||
/>
|
||||
</div>
|
||||
{ this.renderGasEditRows(
|
||||
customGasPrice,
|
||||
updateCustomGasPrice,
|
||||
|
@ -4,6 +4,7 @@
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
border-bottom: 1px solid $alto;
|
||||
height: 430px;
|
||||
|
||||
&__transaction-data-summary,
|
||||
&__fee-chart-title,
|
||||
|
@ -11,11 +11,8 @@
|
||||
height: 219px;
|
||||
}
|
||||
|
||||
&__advanced-tab {
|
||||
height: 475px;
|
||||
}
|
||||
|
||||
&__info-row, &__info-row--fade {
|
||||
.info-row, .info-row--fade {
|
||||
width: 100%;
|
||||
background: $polar;
|
||||
padding: 15px 21px;
|
||||
|
Loading…
Reference in New Issue
Block a user