Improve merge confidence display on Bitbucket platform (avoid huge empty margins) #36665
Replies: 4 comments 9 replies
-
|
you can override the column definition renovate/lib/config/options/index.ts Lines 2743 to 2749 in d0832f7 |
Beta Was this translation helpful? Give feedback.
-
|
Thanks, that has been working well for my local installation. Still I'm wondering, if that would be useful for all users, but I guess it might be hard to have some default configuration that works for all supported platforms, right? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
Tell us more.
The merge confidence displayed in Bitbucket looks very different than all the screenshots describing that feature (probably for the GitHub platform). Every cell for a badge is 160*120 pixels, creating a huge empty margin around the actual badge.
Screenshot with web inspector overlay:

This seems to be a default minimum size for images in Bitbucket markdown. However this can be improved by adding width and height tags to the markdown. This specifies 100*25 px size, see https://confluence.atlassian.com/bitbucketserver/markdown-syntax-guide-776639995.html for the Bitbucket markdown reference:
The resulting PR display is

which looks much more nice. I therefore suggest to always add the width and height when generating markdown for Bitbucket.
Beta Was this translation helpful? Give feedback.
All reactions