Skip to content

Commit

Permalink
chore: commit record has popup updating
Browse files Browse the repository at this point in the history
  • Loading branch information
0xExp-po committed Sep 10, 2024
1 parent f608901 commit f9a6fb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dapp/src/components/CommitRecord.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ const CommitRecord = ({ message, date, authorName, authorGithubLink, sha, commit
<a href={commitLink} target="_blank" rel="noopener noreferrer" className="sha text-sm font-mono text-gray-500 hover:bg-zinc-400 transition-colors duration-200 px-2 py-1 rounded">
{sha.substring(0, 7)}
</a>
<div className="absolute left-0 sm:-left-full bottom-full mb-2 -translate-x-1/2 hidden group-hover:block">
<div className="bg-black text-white text-xs py-1 px-2 rounded shadow-lg max-w-[90vw] break-words">
<div className="absolute -left-1/4 sm:-left-full bottom-full mb-2 -translate-x-1/2 hidden group-hover:block">
<div className="bg-black text-white text-xs py-1 px-2 rounded shadow-lg max-w-[54vw] sm:max-w-[90vw] break-words">
{sha}
<div className="absolute left-2/3 sm:left-3/4 top-full border-4 border-transparent border-t-black"></div>
</div>
Expand Down

0 comments on commit f9a6fb3

Please sign in to comment.