Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
fix: color of the text on hover in dark mode (#1954)
Browse files Browse the repository at this point in the history
Co-authored-by: Eddie Jaoude <eddie@jaoudestudios.com>
  • Loading branch information
AryanBabber and eddiejaoude committed Nov 5, 2022
1 parent 7613061 commit d67f18f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Components/Search/Users.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ function Users({ list }) {
<Link to={user.username} key={`avatar-${key}`}>
<Chip
style={theme}
className="m-2 w-16rem px-3 py-2 transition-all transition-duration-300 hover:text-gray-900"
template={
<span className="text-overflow-ellipsis white-space-nowrap overflow-hidden">
{user.name}
</span>
label={
user.name.length > 20
? user.name.slice(-22) + ' ...'
Expand Down

0 comments on commit d67f18f

Please sign in to comment.