Merge pull request #6833 from beganovich/v5-735

Terms: Show scrollbar when needed
This commit is contained in:
David Bomba 2021-10-14 05:38:54 +11:00 committed by GitHub
commit bb6187f728
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@
<h3 class="text-xl leading-6 font-medium text-gray-900"> <h3 class="text-xl leading-6 font-medium text-gray-900">
{{ ctrans('texts.terms') }} {{ ctrans('texts.terms') }}
</h3> </h3>
<div class="mt-4 h-64 overflow-y-scroll"> <div class="mt-4 h-64 overflow-y-auto">
@foreach($entities as $entity) @foreach($entities as $entity)
<div class="mb-4"> <div class="mb-4">
<p class="text-sm leading-6 font-medium text-gray-500">{{ $entity_type }} {{ $entity->number }}:</p> <p class="text-sm leading-6 font-medium text-gray-500">{{ $entity_type }} {{ $entity->number }}:</p>