File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,15 +60,18 @@ export function NavBar({ version }: { version: string }) {
6060function VersionNav ( { version } : { version : string } ) {
6161 return (
6262 < DropdownMenu >
63- < DropdownMenuTrigger className = "text-sm bg-secondary text-primary rounded-lg px-2" >
63+ < DropdownMenuTrigger className = "text-sm bg-secondary text-primary rounded-lg px-2 tabular-nums " >
6464 { version }
6565 </ DropdownMenuTrigger >
66- < DropdownMenuContent >
67- < DropdownMenuItem className = "p-0" >
68- < span className = "w-full px-2 py-1" > { version } </ span >
66+ < DropdownMenuContent className = "min-w-[5rem]" >
67+ < DropdownMenuItem className = "p-0 text-center " >
68+ < span className = "w-full px-2 py-1 tabular-nums " > { version } </ span >
6969 </ DropdownMenuItem >
70- < DropdownMenuItem className = "p-0" >
71- < a href = "https://v0.codehike.org/docs" className = "w-full px-2 py-1" >
70+ < DropdownMenuItem className = "p-0 text-center" >
71+ < a
72+ href = "https://v0.codehike.org/docs"
73+ className = "w-full px-2 py-1 tabular-nums"
74+ >
7275 0.9.0
7376 </ a >
7477 </ DropdownMenuItem >
You can’t perform that action at this time.
0 commit comments