Skip to content

Commit

Permalink
fix: Resolves missing Keyword Loading Spinner issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
towfiqi committed Feb 9, 2024
1 parent 1f0831e commit dbf540c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/keywords/Keyword.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit dbf540c

Please sign in to comment.