Merge pull request #3004 from mervekaraman/master
Scroll added when items are too many
This commit is contained in:
commit
6a7e4f07ef
@ -23,6 +23,7 @@
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div v-bind:class="(sortedItems.length > 7) ? 'h-72 overflow-y-auto' : ''">
|
||||
<ul class="w-full text-sm rounded-lg border-light-gray text-black placeholder-light-gray bg-white disabled:bg-gray-200 focus:outline-none focus:ring-transparent focus:border-purple p-0 mt-0 border-0 cursor-pointer">
|
||||
<div
|
||||
class="hover:bg-gray-100 px-4"
|
||||
@ -53,6 +54,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center justify-center h-11 text-center text-purple font-bold border border-l-0 border-r-0 border-b-0 rounded-bl-lg rounded-br-lg hover:bg-gray-100 cursor-pointer" @click="onItemCreate">
|
||||
<span class="material-icons text-lg font-bold mr-1">add</span>
|
||||
|
Loading…
x
Reference in New Issue
Block a user