Skip to content

Commit

Permalink
Update hover text colour on display name
Browse files Browse the repository at this point in the history
  • Loading branch information
pdelfan committed Dec 16, 2023
1 parent e678f1c commit b249856
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/components/contentDisplay/feedPost/FeedPost.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export default function FeedPost(props: Props) {
}}
className="flex gap-1"
>
<span className="font-semibold break-all max-w-[90%] shrink-0 line-clamp-1 overflow-ellipsis text-neutral-700 hover:text-neutral-600">
<span className="font-semibold break-all max-w-[90%] shrink-0 line-clamp-1 overflow-ellipsis text-neutral-700 hover:text-neutral-500">
{author.displayName ?? author.handle}{" "}
</span>
<span className="text-neutral-400 font-medium line-clamp-1 break-all shrink min-w-[10%]">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export default function NotificationItem(props: Props) {
<Link
key={author.handle}
href={`/dashboard/user/${author.handle}`}
className="font-semibold break-all text-neutral-700 hover:text-neutral-600"
className="font-semibold break-all text-neutral-700 hover:text-neutral-500"
>
{author.displayName ?? author.handle}{" "}
</Link>
Expand All @@ -98,7 +98,7 @@ export default function NotificationItem(props: Props) {
{allAuthors?.length === 1 && (
<Link
href={`/dashboard/user/${author.handle}`}
className="font-semibold break-all text-neutral-700 hover:text-neutral-600"
className="font-semibold break-all text-neutral-700 hover:text-neutral-500"
>
{author.displayName ?? author.handle}{" "}
</Link>
Expand Down
2 changes: 1 addition & 1 deletion src/components/contentDisplay/searchPost/SearchPost.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default function SearchPost(props: Props) {
href={`/dashboard/user/${author.handle}`}
className="flex gap-1"
>
<span className="font-semibold break-all max-w-[90%] shrink-0 line-clamp-1 overflow-ellipsis text-neutral-700 hover:text-neutral-600">
<span className="font-semibold break-all max-w-[90%] shrink-0 line-clamp-1 overflow-ellipsis text-neutral-700 hover:text-neutral-500">
{author.displayName ?? author.handle}{" "}
</span>
<span className="text-neutral-400 font-medium line-clamp-1 break-all shrink min-w-[10%]">
Expand Down
2 changes: 1 addition & 1 deletion src/components/contentDisplay/threadPost/ThreadPost.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export default function ThreadPost(props: Props) {
}}
className="flex gap-1"
>
<span className="font-semibold break-all max-w-[90%] shrink-0 line-clamp-1 overflow-ellipsis text-neutral-700 hover:text-neutral-600">
<span className="font-semibold break-all max-w-[90%] shrink-0 line-clamp-1 overflow-ellipsis text-neutral-700 hover:text-neutral-500">
{author.displayName ?? author.handle}{" "}
</span>
</Link>
Expand Down
2 changes: 1 addition & 1 deletion src/components/inputs/editor/QuotePreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function QuoteToPreview(props: Props) {
/>
<div className="flex flex-col">
<div className="flex gap-1">
<span className="font-semibold break-all max-w-[90%] shrink-0 line-clamp-1 overflow-ellipsis">
<span className="font-semibold break-all max-w-[90%] shrink-0 line-clamp-1 overflow-ellipsis text-neutral-700">
{author.displayName ?? author.handle}
</span>
<span className="text-neutral-400 font-medium line-clamp-1 break-all shrink min-w-[10%]">
Expand Down
2 changes: 1 addition & 1 deletion src/components/inputs/editor/ReplyToPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default function ReplyToPreview(props: Props) {
/>
<div className="flex flex-col">
<div className="flex gap-1">
<span className="font-semibold break-all max-w-[90%] shrink-0 line-clamp-1 overflow-ellipsis">
<span className="font-semibold break-all max-w-[90%] shrink-0 line-clamp-1 overflow-ellipsis text-neutral-700">
{author.displayName ?? author.handle}
</span>
<span className="text-neutral-400 font-medium line-clamp-1 break-all shrink min-w-[10%]">
Expand Down

0 comments on commit b249856

Please sign in to comment.