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

Changed color of the text on hover in dark mode #1954

Merged
merged 2 commits into from
Nov 5, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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