Bitbucket: fix breadcrumbs selection

Fix for a bug in CSS of Bitbucket Server.

Install as user style?
Author's suggested script

You may also like Bitbucket: copy commit reference.

Install this script
Author
andrybak and dtruebin
Daily installs
0
Total installs
0
Ratings
0 0 0
Version
10
Created
2023-02-10
Updated
2023-12-17
License
MIT
Applies to

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.