Skip to content

Commit

Permalink
Use textTransform instead of toUpperCase (#1965)
Browse files Browse the repository at this point in the history
  • Loading branch information
RunDevelopment authored Jul 21, 2023
1 parent 0a77048 commit 8605a69
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,11 @@ export const RepresentativeNode = memo(
size="xs"
textAlign="left"
textOverflow="truncate"
textTransform="uppercase"
verticalAlign="middle"
whiteSpace="nowrap"
>
{name.toUpperCase()}
{name}
</Heading>
</Box>
<Spacer />
Expand Down
3 changes: 2 additions & 1 deletion src/renderer/components/node/IteratorNodeHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,10 @@ export const IteratorNodeHeader = memo(
p={0}
size="sm"
textAlign="center"
textTransform="uppercase"
verticalAlign="middle"
>
{name.toUpperCase()}
{name}
</Heading>
</Center>
</HStack>
Expand Down
3 changes: 2 additions & 1 deletion src/renderer/components/node/NodeHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,11 @@ export const NodeHeader = memo(
p={0}
size="sm"
textAlign="center"
textTransform="uppercase"
verticalAlign="middle"
whiteSpace="nowrap"
>
{name.toUpperCase()}
{name}
</Heading>
</Center>
</HStack>
Expand Down

0 comments on commit 8605a69

Please sign in to comment.