Skip to content

Commit

Permalink
Merge pull request #757 from Support-pl/dev-fixes
Browse files Browse the repository at this point in the history
changed high cpu switch
  • Loading branch information
639852 committed Aug 27, 2024
2 parents 82ff85f + 573a19d commit f072721
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/components/cloud/create/ioneProducts.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
</template>

<a-switch
size="small"
checked-children="hCPU"
un-checked-children="CPU"
:checked="options.highCPU"
@click="setOptions('highCPU', !options.highCPU)"
/>
Expand All @@ -41,8 +42,9 @@

<a-col
v-if="resources[slider.key].length > 1"
:sm="{ span: 18, order: 0 }"
:sm="{ span: (slider.key === 'cpu') ? 16 : 18, order: 0 }"
:xs="{ span: 24, order: 1 }"
:style="(slider.key === 'cpu') ? 'margin-left: auto' : null"
>
<a-slider
style="margin-top: 10px"
Expand Down Expand Up @@ -258,7 +260,7 @@ function findProduct (group, cpu = options.cpu.size, ram = options.ram.size) {
.hcpu-block {
display: flex;
align-items: center;
gap: 4px;
gap: 8px;
width: 75px;
}

Expand Down

0 comments on commit f072721

Please sign in to comment.