Skip to content

Commit

Permalink
feat: wider navigation bar item.
Browse files Browse the repository at this point in the history
  • Loading branch information
sauravpanda committed Jan 2, 2025
1 parent 5deeabb commit f0e40dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/akiradocs/src/components/layout/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function Navigation({ locale, items }: NavigationProps) {

return (
<ErrorBoundary FallbackComponent={ErrorFallback}>
<aside className="w-64 bg-sidebar-background/50 text-sidebar-foreground border-r border-border/40 h-[calc(100vh-4rem)] sticky top-16 backdrop-blur-sm overflow-hidden">
<aside className="w-[20%] bg-sidebar-background/50 text-sidebar-foreground border-r border-border/40 h-[calc(100vh-4rem)] sticky top-16 backdrop-blur-sm overflow-hidden">
<ScrollArea className="h-full py-6 px-4">
<nav className="space-y-2">
{Object.entries(items)
Expand Down Expand Up @@ -161,7 +161,7 @@ export async function ApiSidebar() {

return (
<ErrorBoundary FallbackComponent={ErrorFallback}>
<aside className="w-64 bg-sidebar-background text-sidebar-foreground border-r h-[calc(100vh-4rem)] sticky top-16 shadow-sm">
<aside className="w-[20%] bg-sidebar-background text-sidebar-foreground border-r h-[calc(100vh-4rem)] sticky top-16 shadow-sm">
<ScrollArea className="h-full py-6 px-4">
<nav className="space-y-2">
{navigation.map((item, index) => (
Expand Down
2 changes: 1 addition & 1 deletion packages/create-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-akiradocs",
"version": "1.0.53",
"version": "1.0.54",
"description": "Create Akira Docs documentation sites with one command",
"main": "./dist/index.js",
"type": "module",
Expand Down

0 comments on commit f0e40dd

Please sign in to comment.