diff options
| author | Tyler Hoang <tyler@tylerhoang.xyz> | 2026-05-09 01:19:08 -0700 |
|---|---|---|
| committer | Tyler Hoang <tyler@tylerhoang.xyz> | 2026-05-09 01:19:08 -0700 |
| commit | 75ce40635736260ce5a19b7a33856305ee516ccc (patch) | |
| tree | 9db3931eae3dbd9308bab0e240e7c75950bcbd4c /static/style.css | |
| parent | 3de7c5eed5ba262abf0d746211e33800db6d66df (diff) | |
Simplify pantry UX and persist grocery check state server-side
- Remove quantity, unit, expiry, and category fields from pantry form; auto-detect category via keyword map
- Persist grocery item checked/unchecked state in DB via PATCH /api/grocery/{id}/check-item
- Fix unchecking: previously bailed early and never removed the checked class
- Fix NOT NULL constraint on ingredients.unit by defaulting to empty string
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'static/style.css')
| -rw-r--r-- | static/style.css | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/static/style.css b/static/style.css index 4cc033b..c530839 100644 --- a/static/style.css +++ b/static/style.css @@ -324,15 +324,6 @@ tbody tr:hover { background-color: rgba(108, 99, 255, 0.1); } -tbody tr.expiry-danger { - background-color: rgba(239, 68, 68, 0.1); - border-left: 3px solid var(--danger); -} - -tbody tr.expiry-warn { - background-color: rgba(245, 158, 11, 0.1); - border-left: 3px solid var(--warning); -} /* ── Cards ──────────────────────────────────────────────────────────────── */ .card { |
