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:
parent
8d9c474396
commit
9e65477afc
@ -262,20 +262,22 @@ export class MetricsSettings extends React.Component<MetricsSettingsProps> {
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<Button
|
||||
label={this.buttonLabel}
|
||||
waiting={this.inProgress}
|
||||
onClick={() => this.save()}
|
||||
primary
|
||||
disabled={!this.changed}
|
||||
className="w-60 h-14"
|
||||
/>
|
||||
<div>
|
||||
<Button
|
||||
primary
|
||||
label={this.buttonLabel}
|
||||
waiting={this.inProgress}
|
||||
onClick={() => this.save()}
|
||||
disabled={!this.changed}
|
||||
style={{ width: "20ch", padding: "0.5rem" }}
|
||||
/>
|
||||
|
||||
{this.canUpgrade && (
|
||||
<small className="hint">
|
||||
An update is available for enabled metrics components.
|
||||
</small>
|
||||
)}
|
||||
{this.canUpgrade && (
|
||||
<small className="hint">
|
||||
An update is available for enabled metrics components.
|
||||
</small>
|
||||
)}
|
||||
</div>
|
||||
</section>
|
||||
</>
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user