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,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>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user