Add some space between error message and close button

This commit is contained in:
Simon Ser 2021-03-09 21:47:39 +01:00
parent d0b5f63a22
commit 97e75805fa

View file

@ -462,9 +462,7 @@ export default class App extends Component {
});
client.addEventListener("error", (event) => {
this.setState({
error: event.detail,
});
this.setState({ error: event.detail });
});
this.createBuffer(netID, SERVER_BUFFER);
@ -992,6 +990,7 @@ export default class App extends Component {
error = html`
<p id="error-msg">
${this.state.error}
${" "}
<a href="#" onClick=${this.dismissError}>×</a>
</p>
`;