mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Use <Icon /> to replace <i/>
Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>
This commit is contained in:
2 files changed
+9
-10
No files matched your search
@@ -29,6 +29,9 @@
|
||||
|
||||
.plus-minus-container {
|
||||
margin-left: $margin * 2;
|
||||
.Icon {
|
||||
--color-active: black;
|
||||
}
|
||||
}
|
||||
|
||||
.warning {
|
||||
|
||||
@@ -107,20 +107,16 @@ export class DeploymentScaleDialog extends Component<Props> {
|
||||
<Slider value={desiredReplicas} max={scaleMax} onChange={onChange as any /** see: https://github.com/mui-org/material-ui/issues/20191 */}/>
|
||||
</div>
|
||||
<div className="plus-minus-container">
|
||||
<i
|
||||
className="Icon material"
|
||||
<Icon
|
||||
material="add_circle_outline"
|
||||
onClick={this.desiredReplicasUp}
|
||||
data-testid="desired-replicas-up"
|
||||
>
|
||||
<span className="icon">add_circle_outline</span>
|
||||
</i>
|
||||
<i
|
||||
className="Icon material"
|
||||
/>
|
||||
<Icon
|
||||
material="remove_circle_outline"
|
||||
onClick={this.desiredReplicasDown}
|
||||
data-testid="desired-replicas-down"
|
||||
>
|
||||
<span className="icon">remove_circle_outline</span>
|
||||
</i>
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
{warning &&
|
||||
|
||||
Reference in new issue
Block a user