From 97e75805fa8ed5b566beb10388ae36119c29a372 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 9 Mar 2021 21:47:39 +0100 Subject: [PATCH] Add some space between error message and close button --- components/app.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/components/app.js b/components/app.js index de4c5d4..2fb0a82 100644 --- a/components/app.js +++ b/components/app.js @@ -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`

${this.state.error} + ${" "} ×

`;