Skip to content

fix(apple): Don't bold addressDescription in macOS Menubar#6632

Merged
jamilbk merged 2 commits intomainfrom
fix/apple-menubar-bug
Sep 7, 2024
Merged

fix(apple): Don't bold addressDescription in macOS Menubar#6632
jamilbk merged 2 commits intomainfrom
fix/apple-menubar-bug

Conversation

@jamilbk
Copy link
Copy Markdown
Member

@jamilbk jamilbk commented Sep 7, 2024

When the addressDescription looks like a URI, we highlight it with markdown and set its click handler to open the URL when clicked. We were also making it bold, which seems to break macOS's menubar width calculation, causing the field to truncate (typically after https://) instead of expanding the container to contain it.

By removing the bold formatting, the container is properly sized, fixing the display issue.

Before

Screenshot 2024-09-07 at 10 44 37 AM

After

Screenshot 2024-09-07 at 10 45 38 AM

@vercel
Copy link
Copy Markdown

vercel bot commented Sep 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
firezone ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 7, 2024 5:43pm

Merged via the queue into main with commit 947db25 Sep 7, 2024
@jamilbk jamilbk deleted the fix/apple-menubar-bug branch September 7, 2024 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants