From 8f659d03584abac13cfa6965a2c64de38cc2e8be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E5=BF=83=E5=AE=87?= Date: Thu, 9 May 2024 15:23:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8Fcont.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/Main/CoderDepot.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/forge/Main/CoderDepot.jsx b/src/forge/Main/CoderDepot.jsx index 8a31d2942..7a1a0abb5 100644 --- a/src/forge/Main/CoderDepot.jsx +++ b/src/forge/Main/CoderDepot.jsx @@ -230,7 +230,7 @@ function CoderDepot(props){ let ele = document.getElementById("ptxt"); if(ele){ let h = ele.offsetHeight; - if( h > 36 ) setHideBtn(true); + if( h <= 36 ) setHideBtn(false); } } },[projectDetail,lastCommit]) @@ -551,7 +551,7 @@ function CoderDepot(props){
} - { hideBtn && __CLIENT__ && changeHide(hide)}> } + { hideBtn && __CLIENT__ &&
changeHide(hide)}>
} {lastCommit.time_from_now} {