fix recent page list style

This commit is contained in:
Dede Fuji Abdul
2023-10-27 08:49:51 +07:00
parent a4fb6dcdd7
commit 8384a35832
3 changed files with 56 additions and 90 deletions

View File

@ -23,7 +23,7 @@
</div>
<ComboboxOptions v-if="query === '' || filteredMenus.length > 0" static
class="overflow-y-auto divide-y divide-gray-500 max-h-80 scroll-py-2 divide-opacity-10">
class="overflow-y-auto divide-y divide-gray-500 scroll-py-2 divide-opacity-10">
<li class="p-2" v-if="filteredMenus.length > 0 || recent.length > 0">
<h2 v-if="query === '' && recent.length > 0"
class="px-3 mt-4 mb-2 text-xs font-semibold text-gray-900">
@ -62,7 +62,7 @@
:class="['h-6 w-6 flex-none', active ? 'opacity-100' : 'opacity-40']" />
<div class="flex flex-col flex-1 ml-3 space-y-1">
<span class="text-sm font-medium text-gray-800 truncate line-clamp-1">
<span class="text-sm font-medium text-gray-800 line-clamp-1">
{{ menu.name }}
</span>
<span class="text-xs text-gray-500 line-clamp-1">