From e60bbbc473e605d7831cfd8cc63be9b3ecf05124 Mon Sep 17 00:00:00 2001 From: Ingvar Stepanyan Date: Wed, 14 Jul 2021 17:17:33 +0000 Subject: [PATCH] One more btn improvement --- ui.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ui.js b/ui.js index 9831997..339f59d 100644 --- a/ui.js +++ b/ui.js @@ -228,11 +228,11 @@ class CaptureButton extends Component { h('input', { type: 'button', class: - 'pure-button' + (this.state.inProgress ? ' pure-button-active' : ''), + 'pure-input-1-3 pure-button' + + (this.state.inProgress ? ' pure-button-active' : ''), onclick: this.handleCapture, - value: 'Capture image' - }), - this.state.inProgress ? ' ⌛' : '' + value: `${this.state.inProgress ? '⌛' : '📷'} Capture image` + }) ); } }