aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorDan Miller <danjm.com@gmail.com>2018-08-07 22:59:14 +0800
committerDan Miller <danjm.com@gmail.com>2018-12-04 11:36:04 +0800
commit3b9ec8e1bc8f3db9cfd645b10e4908f06096c70c (patch)
tree8b7315f46bdb27431a31f121d2cba5b977775ade /ui
parentd55a2615a4af1a0e4d589d0b82904f46cfbff6f7 (diff)
downloadtangerine-wallet-browser-3b9ec8e1bc8f3db9cfd645b10e4908f06096c70c.tar
tangerine-wallet-browser-3b9ec8e1bc8f3db9cfd645b10e4908f06096c70c.tar.gz
tangerine-wallet-browser-3b9ec8e1bc8f3db9cfd645b10e4908f06096c70c.tar.bz2
tangerine-wallet-browser-3b9ec8e1bc8f3db9cfd645b10e4908f06096c70c.tar.lz
tangerine-wallet-browser-3b9ec8e1bc8f3db9cfd645b10e4908f06096c70c.tar.xz
tangerine-wallet-browser-3b9ec8e1bc8f3db9cfd645b10e4908f06096c70c.tar.zst
tangerine-wallet-browser-3b9ec8e1bc8f3db9cfd645b10e4908f06096c70c.zip
Remove gas slider from advance-tab-content.component
Diffstat (limited to 'ui')
-rw-r--r--ui/app/components/gas-customization/gas-modal-page-container/advanced-tab-content/advanced-tab-content.component.js15
-rw-r--r--ui/app/components/gas-customization/gas-modal-page-container/advanced-tab-content/index.scss1
-rw-r--r--ui/app/components/gas-customization/gas-modal-page-container/index.scss5
3 files changed, 2 insertions, 19 deletions
diff --git a/ui/app/components/gas-customization/gas-modal-page-container/advanced-tab-content/advanced-tab-content.component.js b/ui/app/components/gas-customization/gas-modal-page-container/advanced-tab-content/advanced-tab-content.component.js
index 8e593f029..a09869a46 100644
--- a/ui/app/components/gas-customization/gas-modal-page-container/advanced-tab-content/advanced-tab-content.component.js
+++ b/ui/app/components/gas-customization/gas-modal-page-container/advanced-tab-content/advanced-tab-content.component.js
@@ -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,
diff --git a/ui/app/components/gas-customization/gas-modal-page-container/advanced-tab-content/index.scss b/ui/app/components/gas-customization/gas-modal-page-container/advanced-tab-content/index.scss
index 5dc30e061..0c95afc48 100644
--- a/ui/app/components/gas-customization/gas-modal-page-container/advanced-tab-content/index.scss
+++ b/ui/app/components/gas-customization/gas-modal-page-container/advanced-tab-content/index.scss
@@ -4,6 +4,7 @@
display: flex;
flex-flow: column;
border-bottom: 1px solid $alto;
+ height: 430px;
&__transaction-data-summary,
&__fee-chart-title,
diff --git a/ui/app/components/gas-customization/gas-modal-page-container/index.scss b/ui/app/components/gas-customization/gas-modal-page-container/index.scss
index 027165b48..ff512537e 100644
--- a/ui/app/components/gas-customization/gas-modal-page-container/index.scss
+++ b/ui/app/components/gas-customization/gas-modal-page-container/index.scss
@@ -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;