From 5f739ecf775be068218bbc9d36dd6d77e1fe66ec Mon Sep 17 00:00:00 2001 From: Capelier-Marla Date: Thu, 26 Jan 2023 17:23:34 +0100 Subject: [PATCH] style top image --- static/style.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/static/style.css b/static/style.css index 24667ae..3d09b6c 100644 --- a/static/style.css +++ b/static/style.css @@ -351,6 +351,19 @@ main.search > article > section { gap: var(--size-xl); } +main.recipeView > article { + max-width: 600px; +} +main.recipeView > article > img { + min-width: 100%; + max-width: 100%; + max-height: 150px; + object-fit: none; + object-position: center; + border-radius: var(--border-radius); + box-shadow: var(--shadow); +} + main.editRecipe { min-width: 300px; width: 600px;