Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.

Commit 4c77f3a

Browse files
committed
doc: fix the header area of editor for prompts
1 parent 59f29da commit 4c77f3a

File tree

1 file changed

+22
-4
lines changed

1 file changed

+22
-4
lines changed

examples/context-editor/src/App.tsx

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -269,10 +269,28 @@ const NavTabs: React.FC = () => {
269269
const currentForm = getCurrentForm(location.pathname);
270270

271271
return (
272-
<Tabs value={currentForm} aria-label="file type tabs">
273-
<Tab icon={<DescriptionIcon />} label=".context.md" component={Link} to="/" />
274-
<Tab icon={<LibraryBooksIcon />} label=".contextdocs.md" component={Link} to="/contextdocs" />
275-
<Tab icon={<BlockIcon />} label=".contextignore" component={Link} to="/contextignore" />
272+
<Tabs value={currentForm} aria-label="file type tabs" variant="fullWidth">
273+
<Tab
274+
icon={<DescriptionIcon />}
275+
label=".context.md"
276+
component={Link}
277+
to="/"
278+
sx={{ textTransform: 'lowercase' }}
279+
/>
280+
<Tab
281+
icon={<LibraryBooksIcon />}
282+
label=".contextdocs.md"
283+
component={Link}
284+
to="/contextdocs"
285+
sx={{ textTransform: 'lowercase' }}
286+
/>
287+
<Tab
288+
icon={<BlockIcon />}
289+
label=".contextignore"
290+
component={Link}
291+
to="/contextignore"
292+
sx={{ textTransform: 'lowercase' }}
293+
/>
276294
</Tabs>
277295
);
278296
};

0 commit comments

Comments
 (0)