fix: Scrollear lineas oculta botón de agregar
This commit is contained in:
		| @@ -9,7 +9,7 @@ | |||||||
|         <div id="menu" class="h-full w-2/12 border bg-green-100 max-h-screen overflow-auto"> |         <div id="menu" class="h-full w-2/12 border bg-green-100 max-h-screen overflow-auto"> | ||||||
|             {% include 'don_confiao/menu.html' %} |             {% include 'don_confiao/menu.html' %} | ||||||
|         </div> |         </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 %} |             {% block content %} {% endblock %} | ||||||
|         </div> |         </div> | ||||||
|     </body> |     </body> | ||||||
|   | |||||||
| @@ -2,9 +2,9 @@ | |||||||
| {% block content %} | {% block content %} | ||||||
| {% load static %} | {% load static %} | ||||||
|  |  | ||||||
| <div class="flex"> | <div class="flex h-full"> | ||||||
|   <div class="w-10/12 flex"> |   <div class="h-full w-10/12 flex flex-col p-5"> | ||||||
|     <form id="complete_form_purchase" method="POST" class="h-screen max-h-screen overflow-auto w-full"> |     <form id="complete_form_purchase" method="POST" class="h-10/12 w-full max-h-full overflow-auto"> | ||||||
|       {% csrf_token %} |       {% csrf_token %} | ||||||
|       {{ linea_formset.management_form }} |       {{ linea_formset.management_form }} | ||||||
|       <div id="formset-container" class="w-full"> |       <div id="formset-container" class="w-full"> | ||||||
| @@ -16,10 +16,10 @@ | |||||||
|           </div> |           </div> | ||||||
|         {% endfor %} |         {% endfor %} | ||||||
|       </div> |       </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> |     </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> | ||||||
|   <div class="w-2/12"> |   <div class="w-2/12"> | ||||||
|     {{ summary_form }} |     {{ summary_form }} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user