[config_tool] Order of plus and minus icons is inconsistent

let minus icons in front of plus icons in those views below: Virtio input device, Virtio network device, Virtio console device, CPU affinity.

Tracked-On: projectacrn#7917
Signed-off-by: Chuang-Ke <chuangx.ke@intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com>
This commit is contained in:
Chuang Ke 2022-07-22 17:24:45 +08:00 committed by acrnsi-robot
parent e5a9c36095
commit c46c78591d
2 changed files with 6 additions and 5 deletions

View File

@ -188,6 +188,7 @@ export default {
<style scoped>
.ToolSet {
display: flex;
flex-direction: row;
justify-content: space-around;
margin: 1rem;
gap: 0.5rem;

View File

@ -33,16 +33,16 @@
</b-col>
<b-col>
<div class="ToolSet">
<div @click="addPCPU(index)" :class="{'d-none': (this.defaultVal.pcpu.length-1)!==index}">
<Icon size="18px">
<Plus/>
</Icon>
</div>
<div @click="removePCPU(index)">
<Icon size="18px">
<Minus/>
</Icon>
</div>
<div @click="addPCPU(index)" :class="{'d-none': (this.defaultVal.pcpu.length-1)!==index}">
<Icon size="18px">
<Plus/>
</Icon>
</div>
</div>
</b-col>
</b-row>