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

View File

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