diff options
Diffstat (limited to 'src/settings/components/form')
-rw-r--r-- | src/settings/components/form/search-engine-form.jsx | 6 | ||||
-rw-r--r-- | src/settings/components/form/search-engine-form.scss | 12 |
2 files changed, 3 insertions, 15 deletions
diff --git a/src/settings/components/form/search-engine-form.jsx b/src/settings/components/form/search-engine-form.jsx index 77da304..c86522a 100644 --- a/src/settings/components/form/search-engine-form.jsx +++ b/src/settings/components/form/search-engine-form.jsx @@ -1,5 +1,6 @@ -import { h, Component } from 'preact'; import './search-engine-form.scss'; +import { h, Component } from 'preact'; +import DeleteButton from '../ui/delete-button'; class SearchEngineForm extends Component { @@ -33,8 +34,7 @@ class SearchEngineForm extends Component { <input data-index={index} type='radio' name='default' checked={defaultEngine === engine[0]} onChange={this.bindValue.bind(this)} /> - <input data-index={index} type='button' name='delete' - value='✖' + <DeleteButton data-index={index} name='delete' onClick={this.bindValue.bind(this)} /> </div> </div>; diff --git a/src/settings/components/form/search-engine-form.scss b/src/settings/components/form/search-engine-form.scss index 1ca43b7..0d33c23 100644 --- a/src/settings/components/form/search-engine-form.scss +++ b/src/settings/components/form/search-engine-form.scss @@ -22,17 +22,5 @@ &-row { @include row-base; - - .column-option input[type='button'] { - border: none; - padding: 4; - display: inline; - background: none; - color: red; - - &:hover { - color: darkred; - } - } } } |