From 1d011b8c18b1db51bcd4fff8751d8760e9538551 Mon Sep 17 00:00:00 2001 From: Robinet13 <116967343+ROBlNET13@users.noreply.github.com> Date: Wed, 10 Jul 2024 23:17:07 +0300 Subject: [PATCH] please look good --- game/js/Cfunction.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/game/js/Cfunction.js b/game/js/Cfunction.js index f5205731..448a5864 100644 --- a/game/js/Cfunction.js +++ b/game/js/Cfunction.js @@ -2795,8 +2795,11 @@ var $User = (function () { SetHidden(EDAll, $("dTop")); var f = b.prototype; $("iNewPlantCard").src = f.PicArr[f.CardGif]; - $("iNewPlantCard").style.marginTop = - 180 - f.height + "px"; + $("iNewPlantCard").style.width = 100 + "px" + $("iNewPlantCard").style.height = 120 + "px" + $("iNewPlantCard").style.top = 0 + "px" +// $("iNewPlantCard").style.marginTop = +// 180 - f.height + "px"; innerText($("dNewPlantName"), f.CName); $("dNewPlantTooltip").innerHTML = f.Tooltip; $("btnNextLevel").onclick = function () {