diff --git a/ui/app/pages/settings/networks-tab/index.scss b/ui/app/pages/settings/networks-tab/index.scss index f0b66f62d..e30471d41 100644 --- a/ui/app/pages/settings/networks-tab/index.scss +++ b/ui/app/pages/settings/networks-tab/index.scss @@ -25,29 +25,6 @@ } } - &__back-button { - display: none; - - @media screen and (max-width: 575px) { - display: block; - background-image: url('/images/caret-left-black.svg'); - width: 18px; - height: 18px; - opacity: 0.5; - background-size: contain; - background-repeat: no-repeat; - background-position: center; - margin-right: 16px; - cursor: pointer; - position: absolute; - margin-left: 10px; - - [dir='rtl'] & { - transform: rotate(180deg); - } - } - } - &__network-form { flex: 0.5 0 auto; max-width: 343px; @@ -246,6 +223,10 @@ flex-flow: row nowrap; margin: 0.75rem 0; + @media screen and (max-width: 575px) { + width: 93%; + } + .btn-default { margin-right: 0.375rem; } diff --git a/ui/app/pages/settings/networks-tab/networks-tab.component.js b/ui/app/pages/settings/networks-tab/networks-tab.component.js index bc7086738..ba70517e7 100644 --- a/ui/app/pages/settings/networks-tab/networks-tab.component.js +++ b/ui/app/pages/settings/networks-tab/networks-tab.component.js @@ -1,7 +1,6 @@ import React, { PureComponent } from 'react' import PropTypes from 'prop-types' import classnames from 'classnames' -import { SETTINGS_ROUTE } from '../../../helpers/constants/routes' import { ENVIRONMENT_TYPE_FULLSCREEN, ENVIRONMENT_TYPE_POPUP, @@ -20,7 +19,6 @@ export default class NetworksTab extends PureComponent { static propTypes = { editRpc: PropTypes.func.isRequired, - history: PropTypes.object.isRequired, location: PropTypes.object.isRequired, networkIsSelected: PropTypes.bool, networksTabIsInAddMode: PropTypes.bool, @@ -50,25 +48,12 @@ export default class NetworksTab extends PureComponent { renderSubHeader () { const { - networkIsSelected, setSelectedSettingsRpcUrl, setNetworksTabAddMode, - networksTabIsInAddMode, - networkDefaultedToProvider, } = this.props return (