Skip to content

Commit

Permalink
adding padding
Browse files Browse the repository at this point in the history
  • Loading branch information
maayarosama committed Jan 31, 2024
1 parent ccb98d8 commit a9b5ae1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions client/src/components/cards/vacationCard.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<template>
<v-card elevation="0" >

<v-card-title class="bg-graytitle">
<div class="d-flex flex-row-reverse">
<v-icon size="small" class="me-2" @click.stop="$emit('close-dialog', false)">
Expand All @@ -13,7 +14,7 @@
>
<br />

<v-form ref="form" @submit.prevent="updateVacation()">
<v-form ref="form" @submit.prevent="updateVacation()" class="pa-4">
<v-row class="d-flex flex-row-reverse" v-if="couldUpdate">
<v-btn color="primary" class="ma-4" type="submit" :disabled="!form?.isValid || disabled">Update</v-btn>
<v-btn color="red" class="ma-4" @click="handleDelete">Delete</v-btn>
Expand Down Expand Up @@ -78,7 +79,7 @@
</v-card>
</v-form>

<v-row v-if="couldApprove && vacation.status == 'pending'">
<v-row v-if="couldApprove && vacation.status == 'pending'" class="pa-4">
<v-btn color="primary" class="ma-4" @click="handleApprove">Approve</v-btn>
<v-btn color="red" class="ma-4" @click="handleReject">Reject</v-btn>
</v-row>
Expand Down

0 comments on commit a9b5ae1

Please sign in to comment.