Skip to content

Commit 63cf0dd

Browse files
committed
fix: component styles
1 parent c617cef commit 63cf0dd

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/components/modal/modal-title.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ const ModalTitleComponent: React.FC<React.PropsWithChildren<ModalTitleProps>> =
2929
justify-content: center;
3030
align-items: center;
3131
word-break: break-word;
32-
text-transform: capitalize;
3332
color: var(--color-foreground-1000);
3433
}
3534

src/lib/layouts/core-layout.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export const CoreLayout = ({ children }: { children: React.ReactNode }) => {
100100
<Navigation.Item active={!df.children || df.children.length <= 0 ? pathName == df.url : pathName.startsWith(df.url)} title={capitalize(df.name)}>
101101
{df.children.map((child, childIndex) => (
102102
<NextLink passHref key={childIndex} legacyBehavior href={child.children[0].url || df.url}>
103-
<Navigation.Item.Child title={capitalize(child.name)}></Navigation.Item.Child>
103+
<Navigation.Item.Child p={2} title={capitalize(child.name)}></Navigation.Item.Child>
104104
</NextLink>
105105
))}
106106
</Navigation.Item>

0 commit comments

Comments
 (0)