From 8806fd1a7b9abe3c93ccbbe006978af8cbf76060 Mon Sep 17 00:00:00 2001 From: JdM Date: Mon, 20 May 2024 13:55:33 +0200 Subject: [PATCH] Update: Adjust margins and spacing in CSS for card stars text --- scripts/sendRating.js | 2 +- styles/standard-assets/card.css | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/sendRating.js b/scripts/sendRating.js index ffa36ff..490f384 100644 --- a/scripts/sendRating.js +++ b/scripts/sendRating.js @@ -10,6 +10,6 @@ async function sendVotes(profId, teachingQuality, kindness, humor) { }); let responseJson = await response.json(); if (responseJson.info == "vote updated") { - alert("Votre vote a été mis a jour"); + openPopup("alertPopup"); } } diff --git a/styles/standard-assets/card.css b/styles/standard-assets/card.css index 776fe6b..3c1386c 100644 --- a/styles/standard-assets/card.css +++ b/styles/standard-assets/card.css @@ -65,7 +65,8 @@ } .standart-card-stars-text { - margin-bottom: -15px; + margin-bottom: -10px; + margin-top: 10px; transform: translateX(-1px); font-size: 17px; text-transform: uppercase;