Skip to content

Commit e01ea30

Browse files
committed
fix: table header and row cells justfied left
1 parent 50552da commit e01ea30

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

packages/imagekit-editor-dev/src/components/templates/TemplatesLibraryView.tsx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -426,17 +426,19 @@ export function TemplatesLibraryView({ onClose }: Props) {
426426
textTransform="uppercase"
427427
letterSpacing="0.06em"
428428
>
429-
<Box flex="3" minW={0}>
430-
<Text>Name</Text>
429+
{/* Pin column spacer to align with row */}
430+
<Box flexShrink={0} w="8" />
431+
<Box flex="3" minW={0} ml="2">
432+
<Text textAlign="left">Name</Text>
431433
</Box>
432434
<Box flex="2" minW={0}>
433-
<Text>Created by</Text>
435+
<Text textAlign="left">Created by</Text>
434436
</Box>
435437
<Box flex="1.5" minW={0}>
436-
<Text>Visibility</Text>
438+
<Text textAlign="left">Visibility</Text>
437439
</Box>
438440
<Box flex="1.5" minW={0}>
439-
<Text>Last updated</Text>
441+
<Text textAlign="left">Last updated</Text>
440442
</Box>
441443
<Box flexShrink={0} w="8" />
442444
</Flex>

0 commit comments

Comments
 (0)