Fix button size in Metrics Settings

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev committed 2022-08-19 10:52:26 +03:00
1 parent 8d9c474396
commit 9e65477afc
1 file changed
+4 -2
@@ -262,13 +262,14 @@ export class MetricsSettings extends React.Component<MetricsSettingsProps> {
</section> </section>
<section> <section>
<div>
<Button <Button
primary
label={this.buttonLabel} label={this.buttonLabel}
waiting={this.inProgress} waiting={this.inProgress}
onClick={() => this.save()} onClick={() => this.save()}
primary
disabled={!this.changed} disabled={!this.changed}
className="w-60 h-14" style={{ width: "20ch", padding: "0.5rem" }}
/> />
{this.canUpgrade && ( {this.canUpgrade && (
@@ -276,6 +277,7 @@ export class MetricsSettings extends React.Component<MetricsSettingsProps> {
An update is available for enabled metrics components. An update is available for enabled metrics components.
</small> </small>
)} )}
</div>
</section> </section>
</> </>
); );