fix: Scrollear lineas oculta botón de agregar

This commit is contained in:
Camilo Gonzalez 2024-08-19 18:34:28 -05:00
parent b0251b882e
commit 027f7d75b6
2 changed files with 7 additions and 7 deletions

View File

@ -9,7 +9,7 @@
<div id="menu" class="h-full w-2/12 border bg-green-100 max-h-screen overflow-auto">
{% include 'don_confiao/menu.html' %}
</div>
<div id="content" class="w-10/12 h-screen max-h-screen overflow-auto">
<div id="content" class="w-10/12 h-screen max-h-full overflow-auto">
{% block content %} {% endblock %}
</div>
</body>

View File

@ -2,9 +2,9 @@
{% block content %}
{% load static %}
<div class="flex">
<div class="w-10/12 flex">
<form id="complete_form_purchase" method="POST" class="h-screen max-h-screen overflow-auto w-full">
<div class="flex h-full">
<div class="h-full w-10/12 flex flex-col p-5">
<form id="complete_form_purchase" method="POST" class="h-10/12 w-full max-h-full overflow-auto">
{% csrf_token %}
{{ linea_formset.management_form }}
<div id="formset-container" class="w-full">
@ -16,10 +16,10 @@
</div>
{% endfor %}
</div>
<div class="flex justify-center">
<button id="add_line" type="button" class="bg-yellow-100 py-2 px-5 rounded-full" onclick="add_line">Añadir Linea</button>
</div>
</form>
<div class="h-2/12 flex justify-center">
<button id="add_line" type="button" class="bg-yellow-100 py-2 px-5 rounded-full" onclick="add_line">Añadir Linea</button>
</div>
</div>
<div class="w-2/12">
{{ summary_form }}