Fix options page tab order

This commit is contained in:
hensm
2020-07-23 12:27:26 +01:00
parent d2f4fee63b
commit 30c3cb30eb
2 changed files with 7 additions and 8 deletions

View File

@@ -174,6 +174,11 @@ class OptionsApp extends Component<{}, OptionsAppState> {
onSubmit={ this.handleFormSubmit } onSubmit={ this.handleFormSubmit }
onChange={ this.handleFormChange }> onChange={ this.handleFormChange }>
<Bridge info={ this.state.bridgeInfo }
loading={ this.state.bridgeLoading }
options={ this.state.options }
onChange={ this.handleInputChange } />
<fieldset className="category"> <fieldset className="category">
<legend className="category__name"> <legend className="category__name">
<h2>{ _("optionsMediaCategoryName") }</h2> <h2>{ _("optionsMediaCategoryName") }</h2>
@@ -432,12 +437,6 @@ class OptionsApp extends Component<{}, OptionsAppState> {
{ _("optionsSave") } { _("optionsSave") }
</button> </button>
</div> </div>
{ // Workaround for form default button }
<Bridge info={ this.state.bridgeInfo }
loading={ this.state.bridgeLoading }
options={ this.state.options }
onChange={ this.handleInputChange } /> }
</form> </form>
<details className="about"> <details className="about">

View File

@@ -242,8 +242,8 @@ button.ghost:not(:hover) {
color: var(--secondary-color); color: var(--secondary-color);
} }
#form > .category:not(:first-child) { #form > .category {
border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color);
} }