Skip to content

Commit e22d09e

Browse files
committed
more...
1 parent 026bc40 commit e22d09e

File tree

4 files changed

+14
-6
lines changed

4 files changed

+14
-6
lines changed

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,16 @@ export default function ActiveInactiveRow({
4646
"font-medium flex gap-2 items-center justify-center",
4747
)}
4848
>
49-
<TextWithTooltip text={text as string} maxChars={25} />
49+
<TextWithTooltip
50+
text={text as string}
51+
maxChars={25}
52+
className="text-gray-800 dark:text-white group-hover:text-white"
53+
/>
5054
{additionalInfo}
5155
</div>
52-
{children}
56+
<div className={"text-nb-gray-400 dark:text-nb-gray-300 group-hover:text-white"}>
57+
{children}
58+
</div>
5359
</div>
5460
</div>
5561
</div>

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:bg-gray-500 hover:text-white dark:hover:text-neutral-100 dark: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-gray-500 dark:hover:text-neutral-100 dark: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: 3 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:bg-gray-500 hover:text-white dark:hover:text-neutral-100 dark:hover:bg-nb-gray-910 cursor-pointer py-2 pl-3 pr-5 relative"
25+
? "hover:bg-gray-500 dark:hover:text-neutral-100 dark:hover:bg-nb-gray-910 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-white",
5758
size == "md" ? "text-sm" : "text-xl leading-none mb-0.5",
5859
)}
5960
maxChars={24}
@@ -62,6 +63,7 @@ export const NetworkInformationSquare = ({
6263
<TruncatedText
6364
className={cn(
6465
"text-left text-sm text-gray-500 dark:text-nb-gray-400",
66+
"group-hover/network:text-white",
6567
size == "lg" && "text-md mt-0.5",
6668
)}
6769
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:bg-gray-500 hover:text-white dark:hover:text-neutral-100 dark:hover:bg-nb-gray-800/60 cursor-pointer",
32+
"hover:bg-gray-500 dark:hover:text-neutral-100 dark: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)