Skip to content

Commit

Permalink
Update DragItem.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
hughsaffar committed Jun 30, 2024
1 parent 13971e3 commit 529f7d1
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/components/DragItem.vue
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
<template>
<div class="absolute -z-50 -top-96">
<div class="vuefinder__drag-item__container">
<DragSVG />
<div class="text-neutral-700 dark:text-neutral-300 p-1 absolute text-center top-4 right-[-2rem] md:top-5 md:right-[-2.4rem] z-20 text-xs">{{ props.count }}</div>
<div class="vuefinder__drag-item__count">{{ props.count }}</div>
</div>
</template>

<style>
.vuefinder__drag-item__container {
@apply absolute -z-50 -top-96;
}
.vuefinder__drag-item__count {
@apply text-neutral-700 dark:text-neutral-300 p-1 absolute text-center top-4 right-[-2rem] md:top-5 md:right-[-2.4rem] z-20 text-xs;
}
</style>

<script setup>
import { defineProps } from 'vue';
Expand Down

0 comments on commit 529f7d1

Please sign in to comment.