Skip to content

Commit

Permalink
feat: reduce tooltip range, fix branch link
Browse files Browse the repository at this point in the history
  • Loading branch information
jiegec committed Mar 14, 2024
1 parent 579f4c4 commit 033df7b
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions frontend/src/pages/jobs/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,12 @@
</div>
<div class="d-flex align-center">
<v-icon size="x-small" style="margin-right: 5px;">mdi:mdi-calendar</v-icon>
{{ new TimeAgo('en-US').format(new Date((item as Job).creation_time)) }}
<v-tooltip activator="parent" location="bottom">
{{ new Date((item as Job).creation_time) }}
</v-tooltip>
<div>
{{ new TimeAgo('en-US').format(new Date((item as Job).creation_time)) }}
<v-tooltip activator="parent" location="bottom">
{{ new Date((item as Job).creation_time) }}
</v-tooltip>
</div>
</div>
<div style="margin-bottom: 10px"></div>
</template>
Expand All @@ -86,7 +88,7 @@
label
density="comfortable"
prepend-icon="mdi:mdi-source-branch"
:href="`https://github.com/AOSC-Dev/aosc-os-abbs/branch/${(item as Job).git_branch}`"
:href="`https://github.com/AOSC-Dev/aosc-os-abbs/tree/${(item as Job).git_branch}`"
style="margin-right: 5px;"
>
{{ (item as Job).git_branch }}
Expand Down

0 comments on commit 033df7b

Please sign in to comment.