Skip to content

Commit

Permalink
tweak style for gateway list item hover (#1184)
Browse files Browse the repository at this point in the history
* tweak style for gateway list item hover

* ns to gw text
  • Loading branch information
rustyjux authored Oct 22, 2024
1 parent 73f309d commit 6b4eb86
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/nextapp/pages/manager/gateways/detail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ const NamespacesPage: React.FC = () => {
<PopoverArrow bgColor="#373d3f" />
<PopoverBody>
If you need to change the Organization or Business Unit for
your Namespace, submit a request through the{' '}
your Gateway, submit a request through the{' '}
<Link
href={global.helpLinks.helpChangeOrgUrl}
target="_blank"
Expand Down
16 changes: 12 additions & 4 deletions src/nextapp/pages/manager/gateways/list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,15 @@ const MyGatewaysPage: React.FC = () => {
onClick={handleNamespaceChange(namespace)}
cursor="pointer"
transition="background-color 0.2s"
_hover={{ backgroundColor: "#f0f0f0" }}
_hover={{
backgroundColor: "#EDEBE9",
h2: {
color: 'bc-blue',
textDecor: 'underline',
},

cursor: 'pointer',
}}
>
<Box>
<Flex alignItems="center">
Expand All @@ -302,15 +310,15 @@ const MyGatewaysPage: React.FC = () => {
mr={4}
boxSize={4}
/>
<Text
<Heading
fontSize="md"
fontWeight="bold"
color="bc-blue"
lineHeight={6}
mr={2}
data-testid={`ns-list-activate-link-${namespace.name}`}
>
{namespace.displayName}
</Text>
</Heading>
</Flex>
<Text fontSize="md" pl="33px">
{namespace.name}
Expand Down

0 comments on commit 6b4eb86

Please sign in to comment.