From 49a7c0a47da8dc1583a0070d1b364f7095f57dee Mon Sep 17 00:00:00 2001 From: Sofiane Lasri <alasri250@gmail.com> Date: Thu, 15 Jun 2023 10:51:09 +0200 Subject: [PATCH] Correction de l'affichage de l'image de fond sur la page des voitures. --- WSR/templates/vehicles.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/WSR/templates/vehicles.html b/WSR/templates/vehicles.html index 948ab16..595ad12 100644 --- a/WSR/templates/vehicles.html +++ b/WSR/templates/vehicles.html @@ -8,9 +8,8 @@ body { background-image: url("{% static 'images/garage_1_dalle.jpg' %}"); background-size: cover; - background-position-x: center; - /* Pas bien, mais est-ce pire que de voir les artefacts de DALL-E ? */ - background-position-y: -545px; + background-attachment: fixed; + background-position: center; background-repeat: no-repeat; } </style> -- GitLab