Skip to content

Commit

Permalink
bitbucket-fix-breadcrumbs-selection: update selector for Cloud
Browse files Browse the repository at this point in the history
Bitbucket Cloud had a recent redesign.  The lozenges have been moved and
they've changed shape.  However, they can still be selected by the user.
Example: text "Modified file jira-inline-code.user.css" copied from URL:

  - https://bitbucket.org/andreyrybak/atlassian-tweaks/commits/b2c3b6232efc1ab6576e2fc7f5ec923a26e18283

Add the CSS class of the <span> tag, which contains the text of the
tooltip "Modified file", "Removed file", etc, to the selectors for
Bitbucket Cloud in bitbucket-fix-breadcrumbs-selection.user.css.
  • Loading branch information
rybak committed Dec 17, 2023
1 parent 9f66b60 commit 36c1808
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bitbucket-fix-breadcrumbs-selection.user.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
@preprocessor uso
@var text yourDomain "Your Bitbucket domain" "bitbucket.example.com"
@var text yourDomain2 "Your 2nd Bitbucket domain" "bitbucket.example.com"
@version 9
@version 10
==/UserStyle== */

/*
Expand Down Expand Up @@ -41,7 +41,8 @@
.change-mode-placeholder,
.aui-lozenge.change-type-lozenge,
/* Bitbucket Cloud */
.diff-entry-lozenge.aui-lozenge {
.diff-entry-lozenge.aui-lozenge,
.css-i9qcsw {
user-select: none;
}
}

0 comments on commit 36c1808

Please sign in to comment.