Bitbucket: fix breadcrumbs selection

andrybak și dtruebin
2023-02-10T14:26:10Z

Fix for a bug in CSS of Bitbucket Server.

Bitbucket – fix selection of breadcrumbs

Selection of file paths (breadcrumbs) is broken in some parts of the Bitbucket UI in a way, that marker "UPDATED", "ADDED", or "DELETED" is selected, depending on the exact way that the user performs the selection. This style makes the pill-shaped markers unselectable, fixing this issue.

This style supports both Bitbucket Server and Bitbucket Cloud.

Instructions

The style uses @url-prefix rules to work on any domain that starts with the word bitbucket. If your Bitbucket instance uses a domain which doesn't start with the word bitbucket, you'll have to manually add your custom domain. Up-to-date instructions are at https://github.com/rybak/atlassian-tweaks#custom-domains

Source code

Source code and full history can be seen on GitHub: https://github.com/rybak/atlassian-tweaks/blob/main/bitbucket-fix-breadcrumbs-selection.user.css

See also

More user scripts and user styles for Bitbucket, Jira, and Confluence in set Atlassian Tweaks.