fix: show only 'v' in sidebar with full version on hover tooltip
The full version string was pushing the sidebar too wide. Now displays just "v" with the full version (e.g. "v1.2.3") shown on hover via title attribute, for both mobile and desktop sidebar layouts. Fixes PAP-533 Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
6f15bc9a0b
commit
e9516e86a4
1 changed files with 2 additions and 2 deletions
|
|
@ -298,7 +298,7 @@ export function Layout() {
|
|||
<span className="truncate">Documentation</span>
|
||||
</a>
|
||||
{health?.version && (
|
||||
<span className="px-2 text-xs text-muted-foreground shrink-0">v{health.version}</span>
|
||||
<span className="px-2 text-xs text-muted-foreground shrink-0" title={`v${health.version}`}>v</span>
|
||||
)}
|
||||
<Button variant="ghost" size="icon-sm" className="text-muted-foreground shrink-0" asChild>
|
||||
<Link
|
||||
|
|
@ -351,7 +351,7 @@ export function Layout() {
|
|||
<span className="truncate">Documentation</span>
|
||||
</a>
|
||||
{health?.version && (
|
||||
<span className="px-2 text-xs text-muted-foreground shrink-0">v{health.version}</span>
|
||||
<span className="px-2 text-xs text-muted-foreground shrink-0" title={`v${health.version}`}>v</span>
|
||||
)}
|
||||
<Button variant="ghost" size="icon-sm" className="text-muted-foreground shrink-0" asChild>
|
||||
<Link
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue