Skip to content

Commit

Permalink
Merge pull request #897 from bcgov/bugs/schoolContactSpacing
Browse files Browse the repository at this point in the history
EDX-1622 Changed spacing for school contact
  • Loading branch information
arcshiftsolutions authored Jul 17, 2023
2 parents f140675 + 48b6c46 commit 23b5514
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions frontend/src/components/school/SchoolContact.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<v-card
:id="`schoolContactCard-${contact.schoolContactId}`"
class="schoolContactCard pb-8"
class="schoolContactCard"
height="100%"
>
<v-card-title class="text-wrap">
Expand All @@ -28,6 +28,7 @@
width="0.5em"
color="white"
min-width="0.5em"
variant="flat"
@click="handleOpenEditor"
>
<v-icon
Expand All @@ -44,6 +45,7 @@
color="white"
width="0.5em"
min-width="0.5em"
variant="flat"
depressed
small
@click="callShowRemoveContactConfirmation"
Expand Down Expand Up @@ -124,11 +126,9 @@
ext. {{ contact.alternatePhoneExtension }}
</span>
</v-list-item>
</v-list>
<div class="date-container">
<div
<v-list-item
v-if="contact.expiryDate"
class="pl-0 text-right"
class="pl-0 text-left"
>
<v-icon
icon="mdi-calendar-today"
Expand All @@ -142,10 +142,10 @@
>
{{ formatDate(contact.effectiveDate) }} - {{ formatDate(contact.expiryDate) }}
</span>
</div>
<div
</v-list-item>
<v-list-item
v-else
class="pl-0 text-right"
class="pl-0 text-left"
>
<v-icon
icon="mdi-calendar-today"
Expand All @@ -159,8 +159,8 @@
>
{{ formatDate(contact.effectiveDate) }}
</span>
</div>
</div>
</v-list-item>
</v-list>
</v-card-text>
</v-card>
</template>
Expand Down

0 comments on commit 23b5514

Please sign in to comment.