File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -60,15 +60,18 @@ export function NavBar({ version }: { version: string }) {
60
60
function VersionNav ( { version } : { version : string } ) {
61
61
return (
62
62
< 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 " >
64
64
{ version }
65
65
</ 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 >
69
69
</ 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
+ >
72
75
0.9.0
73
76
</ a >
74
77
</ DropdownMenuItem >
You can’t perform that action at this time.
0 commit comments