Skip to content

Commit

Permalink
Fixup UI styling
Browse files Browse the repository at this point in the history
  • Loading branch information
vishesh92 committed Apr 10, 2024
1 parent c5cf358 commit 4e59e30
Showing 1 changed file with 26 additions and 16 deletions.
42 changes: 26 additions & 16 deletions ui/src/views/compute/ReinstallVm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
show-icon
>
<template #message><span
style="margin-bottom: 5px"
v-html="$t('message.reinstall.vm')"
/></template>
style="margin-bottom: 5px"
v-html="$t('message.reinstall.vm')"
/></template>
</a-alert>
<a-form-item>
<template-iso-selection
Expand All @@ -43,10 +43,12 @@
/>
</a-form-item>
<a-form-item>
<tooltip-label
:title="$t('label.override.root.diskoffering')"
:tooltip="apiParams.diskofferingid.description"
/>
<template #label>
<tooltip-label
:title="$t('label.override.root.diskoffering')"
:tooltip="apiParams.diskofferingid.description"
/>
</template>
<a-switch
v-model:checked="overrideDiskOffering"
@change="val => { overrideDiskOffering = val }"
Expand Down Expand Up @@ -77,10 +79,12 @@
/>
</a-form-item>
<a-form-item v-if="!(diskOffering && diskOffering.iscustomized)">
<tooltip-label
:title="$t('label.override.rootdisk.size')"
:tooltip="apiParams.rootdisksize.description"
/>
<template #label>
<tooltip-label
:title="$t('label.override.rootdisk.size')"
:tooltip="apiParams.rootdisksize.description"
/>
</template>
<a-switch
v-model:checked="overrideDiskSize"
@change="val => { overrideDiskSize = val }"
Expand All @@ -94,10 +98,12 @@
/>
</a-form-item>
<a-form-item>
<tooltip-label
:title="$t('label.expunge')"
:tooltip="apiParams.expunge.description"
/>
<template #label>
<tooltip-label
:title="$t('label.expunge')"
:tooltip="apiParams.expunge.description"
/>
</template>
<a-switch
v-model:checked="expungeDisk"
@change="val => { expungeDisk = val }"
Expand Down Expand Up @@ -287,9 +293,13 @@ export default {
}
</script>
<style scoped lang="scss">
<style
scoped
lang="scss"
>
.ant-form {
width: 90vw;
@media (min-width: 700px) {
width: 50vw;
}
Expand Down

0 comments on commit 4e59e30

Please sign in to comment.