fix: show scrollbars only when an inner area overflows
This commit is contained in:
1 parent
e31f607f66
commit
3f806669c6
8 files changed
+25
-13
No files matched your search
@@ -61,7 +61,7 @@
|
||||
<span>{{ newContractsCount }} neu, {{ pendingContractsCount }} in Bearbeitung</span>
|
||||
{% endif %}
|
||||
</h2>
|
||||
<div class="max-h-64 overflow-y-scroll overflow-x-hidden">
|
||||
<div class="max-h-64 overflow-y-auto overflow-x-hidden pr-3">
|
||||
<ul class="divide-y divide-gray-200">
|
||||
{% for document in newContracts %}
|
||||
{% set assignment = document.disposition.assignment %}
|
||||
@@ -95,7 +95,7 @@
|
||||
<span>{{ newInvoicesCount }} neu, {{ pendingInvoicesCount }} in Bearbeitung</span>
|
||||
{% endif %}
|
||||
</h2>
|
||||
<div class="max-h-64 overflow-y-scroll overflow-x-hidden">
|
||||
<div class="max-h-64 overflow-y-auto overflow-x-hidden pr-3">
|
||||
<ul class="divide-y divide-gray-200">
|
||||
{% for document in newInvoices %}
|
||||
{% set assignment = document.disposition.assignment %}
|
||||
@@ -128,7 +128,7 @@
|
||||
<span>{{ newDriverLicensesCount }} neu</span>
|
||||
{% endif %}
|
||||
</h2>
|
||||
<div class="max-h-64 overflow-y-scroll overflow-x-hidden">
|
||||
<div class="max-h-64 overflow-y-auto overflow-x-hidden pr-3">
|
||||
<ul class="divide-y divide-gray-200">
|
||||
{% for document in newDriverLicenses %}
|
||||
<li class="py-2 first:pt-0 last:pb-0">
|
||||
@@ -242,7 +242,7 @@
|
||||
<span>{{ overdueFeedbacksCount }} überfällig</span>
|
||||
{% endif %}
|
||||
</h2>
|
||||
<div class="max-h-64 overflow-y-scroll overflow-x-hidden">
|
||||
<div class="max-h-64 overflow-y-auto overflow-x-hidden pr-3">
|
||||
<ul class="divide-y divide-gray-200">
|
||||
{% for disposition in overdueFeedbacks %}
|
||||
{% set assignment = disposition.assignment %}
|
||||
@@ -278,7 +278,7 @@
|
||||
<span>{{ overdueContractsCount }} überfällig</span>
|
||||
{% endif %}
|
||||
</h2>
|
||||
<div class="max-h-64 overflow-y-scroll overflow-x-hidden">
|
||||
<div class="max-h-64 overflow-y-auto overflow-x-hidden pr-3">
|
||||
<ul class="divide-y divide-gray-200">
|
||||
{% for disposition in overdueContracts %}
|
||||
{% set assignment = disposition.assignment %}
|
||||
|
||||
Reference in new issue
Block a user