This commit is contained in:
moerp 2024-02-01 17:21:30 +01:00
parent 16f8c23c38
commit 99bd1841cb
3 changed files with 4 additions and 4 deletions

@ -51,6 +51,7 @@ button#remove-button:not(:disabled):hover {
table {
width: 100%;
border-collapse: collapse;
border-radius: 10px;
}
table, th, td {
@ -142,6 +143,7 @@ tr:hover:not(.selected) {
width: 100%; /* Tabelle nimmt die volle Breite ein */
border-collapse: collapse; /* Entfernt doppelte Ränder */
border-radius: 10px;
overflow: hidden;
}
#nutrition-input-table th, #nutrition-input-table td {

@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Nährwertberechnungs-App</title>
<title>Elo's Rezept Rechner</title>
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='style.css') }}">
<link rel="shortcut icon" href="../static/images/favicon.ico">

@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Neue Lebensmittel hinzufügen</title>
<title>Elo's Rezept Rechner</title>
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='style.css') }}">
<link rel="shortcut icon" href="../static/images/favicon.ico">
@ -190,7 +190,6 @@
<div class="content">
<form onsubmit="event.preventDefault(); addNutritionEntry();" method="POST" id="nutrition-form">
<div id="table-container">
<table id="nutrition-input-table">
<tr>
<th>Lebensmittel</th>
@ -211,7 +210,6 @@
<td><input <input type="text" name="ca" pattern="\d+([.,]\d{1,2})?" placeholder="mg" oninput="updateSubmitButtonState()"></td>
</tr>
</table>
</div>
<button type="submit" id="submit-button" disabled>Hinzufügen</button>
</form>