Skip to content

Commit c9b3fed

Browse files
authored
chore: increase character limits for navbar items (#1683)
1 parent ea499ab commit c9b3fed

File tree

1 file changed

+4
-4
lines changed
  • packages/components/src/interfaces/internal

1 file changed

+4
-4
lines changed

packages/components/src/interfaces/internal/Navbar.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ import { LINK_HREF_PATTERN } from "~/utils/validation"
1414
const NavbarItemSchema = Type.Object({
1515
name: Type.String({
1616
title: "Menu item label",
17-
maxLength: 30,
17+
maxLength: 80,
1818
}),
1919
description: Type.Optional(
2020
Type.String({
2121
title: "Add an optional description",
22-
maxLength: 120,
22+
maxLength: 270,
2323
}),
2424
),
2525
url: Type.String({
@@ -34,12 +34,12 @@ const NavbarItemSchema = Type.Object({
3434
Type.Object({
3535
name: Type.String({
3636
title: "Name of the sub-item",
37-
maxLength: 60,
37+
maxLength: 80,
3838
}),
3939
description: Type.Optional(
4040
Type.String({
4141
title: "Description of the sub-item",
42-
maxLength: 240,
42+
maxLength: 270,
4343
}),
4444
),
4545
url: Type.String({

0 commit comments

Comments
 (0)