fix: modal btn gap

This commit is contained in:
Calum H. (IMB11)
2026-05-07 15:59:52 +01:00
parent 4e6baf8a33
commit 6684edc61d
@@ -7,7 +7,7 @@
<EnvironmentMigration ref="environmentMigration" :show-floating-save="false" />
</div>
<template #actions>
<div v-if="canSave" class="flex justify-end gap-2">
<div v-if="canSave" class="flex justify-end gap-2 mt-2">
<ButtonStyled v-if="canReset" type="transparent">
<button :disabled="saving || !hasChanges" @click="resetEnvironment">
<HistoryIcon /> {{ formatMessage(commonMessages.resetButton) }}
@@ -78,7 +78,11 @@ function resetEnvironment() {
}
function saveEnvironment() {
let shouldVerify = !!needsToVerify.value
environmentMigration.value?.save()
if (shouldVerify) {
hide()
}
}
onMounted(() => {