fix: Resolves missing Keyword Loading Spinner issue.

This commit is contained in:
towfiqi 2024-02-09 21:18:23 +06:00
parent 1f0831ed13
commit dbf540cfdb

View File

@ -115,7 +115,7 @@ const Keyword = (props: KeywordProps) => {
<div
className={`keyword_position absolute bg-[#f8f9ff] w-fit min-w-[50px] h-12 p-2 text-base mt-[-20px] rounded right-5 lg:relative
lg:bg-transparent lg:w-auto lg:h-auto lg:mt-0 lg:p-0 lg:text-sm lg:flex-1 lg:basis-24 lg:grow-0 lg:right-0 text-center font-semibold`}>
<KeywordPosition position={position} />
<KeywordPosition position={position} updating={updating} />
{!updating && positionChange > 0 && <i className=' not-italic ml-1 text-xs text-[#5ed7c3]'> {positionChange}</i>}
{!updating && positionChange < 0 && <i className=' not-italic ml-1 text-xs text-red-300'> {positionChange}</i>}
</div>