Skip to content

Commit fde6328

Browse files
committed
more...
1 parent 060d60c commit fde6328

File tree

6 files changed

+7
-10
lines changed

6 files changed

+7
-10
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,16 @@ export default function ActiveInactiveRow({
4444
<div
4545
className={cn(
4646
"font-medium flex gap-2 items-center justify-center",
47-
"text-gray-800 dark:text-white group-hover:text-white"
4847
)}
4948
>
5049
<TextWithTooltip
5150
text={text as string}
5251
maxChars={25}
53-
className="text-gray-800 dark:text-white group-hover:text-white"
52+
className=""
5453
/>
5554
{additionalInfo}
5655
</div>
57-
<div className={"text-nb-gray-400 dark:text-nb-gray-300 group-hover:text-white"}>
56+
<div className={"-mt-[1px]"}>
5857
{children}
5958
</div>
6059
</div>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default function LastTimeRow({
2626
<TooltipTrigger>
2727
<div
2828
className={
29-
"flex items-center whitespace-nowrap gap-2 dark:text-neutral-300 text-neutral-500 transition-all hover:bg-gray-300 hover:text-white dark:hover:text-neutral-100 dark:hover:bg-nb-gray-800/60 py-2 px-3 rounded-md cursor-default"
29+
"flex items-center whitespace-nowrap gap-2 dark:text-neutral-300 text-neutral-500 transition-all hover:bg-gray-300 hover:text-neutral-800 dark:hover:text-neutral-100 dark:hover:bg-nb-gray-800/60 py-2 px-3 rounded-md cursor-default"
3030
}
3131
>
3232
<>

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-
"group flex items-center gap-2 dark:text-neutral-300 text-neutral-500 transition-all hover:bg-gray-300 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-300 hover:text-neutral-800 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: 1 addition & 3 deletions
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-300 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-300 hover:text-neutral-700 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,7 +54,6 @@ 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",
5857
size == "md" ? "text-sm" : "text-xl leading-none mb-0.5",
5958
)}
6059
maxChars={24}
@@ -63,7 +62,6 @@ export const NetworkInformationSquare = ({
6362
<TruncatedText
6463
className={cn(
6564
"text-left text-sm text-gray-500 dark:text-nb-gray-400",
66-
"group-hover/network:text-white",
6765
size == "lg" && "text-md mt-0.5",
6866
)}
6967
maxChars={24}

src/modules/peers/PeerLastSeenCell.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default function PeerLastSeenCell({ peer }: Props) {
1212
) : (
1313
<div
1414
className={
15-
"flex items-center whitespace-nowrap gap-2 dark:text-neutral-300 text-neutral-500 transition-all hover:bg-gray-300 hover:text-white dark:hover:text-neutral-100 dark:hover:bg-nb-gray-800/60 py-2 px-3 rounded-md"
15+
"flex items-center whitespace-nowrap gap-2 dark:text-neutral-300 text-neutral-500 transition-all hover:bg-gray-300 hover:text-neutral-800 dark:hover:text-neutral-100 dark:hover:bg-nb-gray-800/60 py-2 px-3 rounded-md"
1616
}
1717
>
1818
<>

src/modules/peers/PeerNameCell.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default function PeerNameCell({ peer, linkToPeer = true }: Props) {
2929
className={cn(
3030
"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-300 hover:text-white dark:hover:text-neutral-100 dark:hover:bg-nb-gray-800/60 cursor-pointer",
32+
"hover:bg-gray-300 hover:text-neutral-800 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)