Skip to content

Commit 5ad7724

Browse files
committed
more...
1 parent e2f1ad3 commit 5ad7724

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

src/modules/common-table-rows/ActiveInactiveRow.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,10 @@ export default function ActiveInactiveRow({
4242
/>
4343
<div className={"flex flex-col min-w-0"}>
4444
<div
45-
className={"font-medium flex gap-2 items-center justify-center"}
45+
className={cn(
46+
"font-medium flex gap-2 items-center justify-center",
47+
"text-gray-800 dark:text-white group-hover:text-neutral-100",
48+
)}
4649
>
4750
<TextWithTooltip text={text as string} maxChars={25} />
4851
{additionalInfo}

src/modules/dns-nameservers/table/NameserverNameCell.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default function NameserverNameCell({ ns }: Props) {
1111
<div className={"flex min-w-[270px] max-w-[270px]"}>
1212
<div
1313
className={
14-
"flex items-center gap-2 dark:text-neutral-300 text-neutral-500 transition-all hover:text-neutral-100 hover:bg-nb-gray-800/60 py-2 px-3 rounded-md cursor-pointer"
14+
"group flex items-center gap-2 dark:text-neutral-300 text-neutral-500 transition-all hover:bg-nb-gray-800/60 py-2 px-3 rounded-md cursor-pointer"
1515
}
1616
>
1717
<ActiveInactiveRow

src/modules/networks/misc/NetworkInformationSquare.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const NetworkInformationSquare = ({
2222
className={cn(
2323
"flex w-full items-center max-w-[300px] gap-4 text-neutral-500 dark:text-neutral-300 transition-all group/network rounded-md",
2424
onClick
25-
? "hover:text-neutral-100 hover:bg-nb-gray-800/60 cursor-pointer py-2 pl-3 pr-5 relative"
25+
? "hover:bg-nb-gray-800/60 cursor-pointer py-2 pl-3 pr-5 relative"
2626
: "cursor-default",
2727
)}
2828
onClick={onClick}
@@ -54,6 +54,7 @@ export const NetworkInformationSquare = ({
5454
<TruncatedText
5555
className={cn(
5656
"font-medium text-gray-800 dark:text-white text-left",
57+
"group-hover/network:text-neutral-100",
5758
size == "md" ? "text-sm" : "text-xl leading-none mb-0.5",
5859
)}
5960
maxChars={24}

src/modules/peers/PeerNameCell.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ export default function PeerNameCell({ peer, linkToPeer = true }: Props) {
2727
<div>
2828
<div
2929
className={cn(
30-
"flex items-center max-w-[300px] gap-2 dark:text-neutral-300 text-neutral-500 transition-all py-2 px-3 rounded-md ",
30+
"group flex items-center max-w-[300px] gap-2 dark:text-neutral-300 text-neutral-500 transition-all py-2 px-3 rounded-md ",
3131
linkToPeer &&
32-
"hover:text-neutral-100 hover:bg-nb-gray-800/60 cursor-pointer",
32+
"hover:bg-nb-gray-800/60 cursor-pointer",
3333
)}
3434
data-testid="peer-name-cell"
3535
aria-label={`View details of peer ${peer.name}`}

0 commit comments

Comments
 (0)