[Password layout changes] [Package upgrades]

This commit is contained in:
2020-04-06 15:21:18 -05:00
parent f88f6b1644
commit ca2a5b0fd0
4 changed files with 20 additions and 19 deletions

View File

@@ -187,7 +187,7 @@ export default connect(mapStateToProps, mapDispatchToProps)(props => {
col={configButton ? 24 : 18}
onClick={props.MState.AllowMount ? () => props.displaySkynetExport() : e => {e.preventDefault();}}
rowSpan={5}
style={{...pointer}}>
style={{...pointer, fontWeight: 'normal'}}>
<u>Export</u>
</a>
) : null}
@@ -196,7 +196,7 @@ export default connect(mapStateToProps, mapDispatchToProps)(props => {
col={configButton ? 24 + 13 : 18 + 13}
onClick={props.MState.AllowMount ? () => props.displaySkynetImport() : e => {e.preventDefault();}}
rowSpan={5}
style={{...pointer}}>
style={{...pointer, fontWeight: 'normal'}}>
<u>Import</u>
</a>
) : null}

View File

@@ -30,4 +30,5 @@ input.PasswordInput {
.PasswordLink {
margin-right: var(--default_spacing);
cursor: pointer;
font-weight: normal;
}

View File

@@ -48,7 +48,7 @@ export default class extends Component {
this.props.changed(this.state.password);
this.setState({
...this.state,
button_text: 'clear',
button_text: this.state.password && this.state.password.length > 0 ? 'clear' : 'set',
password2: '',
});
} else {