2
0
mirror of https://github.com/tenrok/vue-context.git synced 2026-06-24 03:00:36 +03:00
This commit is contained in:
rawilk
2020-08-30 13:26:54 -05:00
parent 9f5819cdf0
commit a3a8840573
3 changed files with 3 additions and 7 deletions
+1 -3
View File
@@ -10,9 +10,7 @@
:key="index" :key="index"
@contextmenu.prevent="$refs.menu.open" @contextmenu.prevent="$refs.menu.open"
> >
<div class="flex items-center px-4 py-4 sm:px-6" <div class="flex items-center px-4 py-4 sm:px-6">
:class="{ 'pt-0': index === 0, 'pb-0': index + 1 === items.length }"
>
<div class="min-w-0 flex-1 md:grid md:grid-cols-2 md:gap-4"> <div class="min-w-0 flex-1 md:grid md:grid-cols-2 md:gap-4">
<div class="text-sm leading-5 font-medium text-gray-600 truncate" v-text="item"></div> <div class="text-sm leading-5 font-medium text-gray-600 truncate" v-text="item"></div>
</div> </div>
+1 -3
View File
@@ -26,9 +26,7 @@ sort: 1
:key="index" :key="index"
@contextmenu.prevent="$refs.menu.open" @contextmenu.prevent="$refs.menu.open"
> >
<div class="flex items-center px-4 py-4 sm:px-6" <div class="flex items-center px-4 py-4 sm:px-6">
:class="{ 'pt-0': index === 0, 'pb-0': index + 1 === items.length }"
>
<div class="min-w-0 flex-1 md:grid md:grid-cols-2 md:gap-4"> <div class="min-w-0 flex-1 md:grid md:grid-cols-2 md:gap-4">
<div class="text-sm leading-5 font-medium text-gray-600 truncate" v-text="item"></div> <div class="text-sm leading-5 font-medium text-gray-600 truncate" v-text="item"></div>
</div> </div>
File diff suppressed because one or more lines are too long