From ae2f0e062f79a63bdae43f519f6018daeb50cefd Mon Sep 17 00:00:00 2001 From: kisfenyo Date: Thu, 26 Feb 2026 08:57:48 +0100 Subject: [PATCH] Move btn-danger style to base.html so it works on all pages Co-Authored-By: Claude Opus 4.6 --- app/templates/base.html | 2 ++ app/templates/recipes.html | 7 ------- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/app/templates/base.html b/app/templates/base.html index 1843194..7255bf6 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -149,6 +149,8 @@ .btn-secondary:hover { background: #2d333b; } .btn-success { background: var(--success); } .btn-success:hover { background: #1a7f2b; } + .btn-danger { background: var(--danger); } + .btn-danger:hover { background: #b62d2a; } .btn:disabled { opacity: 0.5; cursor: not-allowed; } /* --- Alerts --- */ diff --git a/app/templates/recipes.html b/app/templates/recipes.html index 61de469..dc4ffae 100644 --- a/app/templates/recipes.html +++ b/app/templates/recipes.html @@ -171,13 +171,6 @@ color: var(--text-dim); font-size: 0.85rem; } - .btn-danger { - background: var(--danger); - } - .btn-danger:hover { - background: #b62d2a; - } - /* --- Recipe list --- */ .recipe-list { display: flex;