1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix button size in Metrics Settings

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2022-08-19 10:52:26 +03:00
parent 8d9c474396
commit 9e65477afc

View File

@ -262,20 +262,22 @@ export class MetricsSettings extends React.Component<MetricsSettingsProps> {
</section> </section>
<section> <section>
<Button <div>
label={this.buttonLabel} <Button
waiting={this.inProgress} primary
onClick={() => this.save()} label={this.buttonLabel}
primary waiting={this.inProgress}
disabled={!this.changed} onClick={() => this.save()}
className="w-60 h-14" disabled={!this.changed}
/> style={{ width: "20ch", padding: "0.5rem" }}
/>
{this.canUpgrade && ( {this.canUpgrade && (
<small className="hint"> <small className="hint">
An update is available for enabled metrics components. An update is available for enabled metrics components.
</small> </small>
)} )}
</div>
</section> </section>
</> </>
); );