chore: make border radius consistent and remove unused functions
This commit is contained in:
@@ -1240,17 +1240,4 @@ function createDayElement(day: number, isOtherMonth: boolean, year: number, mont
|
|||||||
return dayElement;
|
return dayElement;
|
||||||
}
|
}
|
||||||
|
|
||||||
function toggleCard(id: string) {
|
|
||||||
const card = document.querySelector(`[data-id="${id}"]`);
|
|
||||||
card?.classList.toggle('expanded');
|
|
||||||
}
|
|
||||||
|
|
||||||
function deleteFood(id: string) {
|
|
||||||
handleDeleteFood(id);
|
|
||||||
}
|
|
||||||
|
|
||||||
function editFood(id: string) {
|
|
||||||
alert(`Edit functionality for food item ${id} would be implemented here`);
|
|
||||||
}
|
|
||||||
|
|
||||||
(window as any).selectFood = selectFood;
|
(window as any).selectFood = selectFood;
|
||||||
|
|||||||
@@ -134,7 +134,7 @@ h1 {
|
|||||||
right: 0;
|
right: 0;
|
||||||
background: white;
|
background: white;
|
||||||
border: 1px solid #e0e0e0;
|
border: 1px solid #e0e0e0;
|
||||||
border-radius: 12px;
|
border-radius: 6px;
|
||||||
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
|
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
|
||||||
z-index: 1002;
|
z-index: 1002;
|
||||||
max-height: 300px;
|
max-height: 300px;
|
||||||
@@ -188,7 +188,7 @@ h1 {
|
|||||||
|
|
||||||
.food-card {
|
.food-card {
|
||||||
background: white;
|
background: white;
|
||||||
border-radius: 12px;
|
border-radius: 6px;
|
||||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
@@ -286,7 +286,7 @@ h1 {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 12px;
|
padding: 12px;
|
||||||
background: white;
|
background: white;
|
||||||
border-radius: 8px;
|
border-radius: 6px;
|
||||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -355,7 +355,7 @@ h1 {
|
|||||||
color: white;
|
color: white;
|
||||||
border: none;
|
border: none;
|
||||||
padding: 12px 24px;
|
padding: 12px 24px;
|
||||||
border-radius: 8px;
|
border-radius: 6px;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
|
|||||||
Reference in New Issue
Block a user