Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-12-07 20:00:51 +0300
committerPhil Hughes <me@iamphill.com>2018-12-07 20:00:51 +0300
commit0f827531b051f2d467b58f2f350dbb4a5a6eddbf (patch)
treee21a2002843bcdd9052f105cb896e73adf70aee3 /app/assets/javascripts/image_diff
parenta89a73c1cc8576d75afc947cec14f19e1ae8a30d (diff)
Fixed styling of image comment badges on commits
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/54849
Diffstat (limited to 'app/assets/javascripts/image_diff')
-rw-r--r--app/assets/javascripts/image_diff/helpers/badge_helper.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/image_diff/helpers/badge_helper.js b/app/assets/javascripts/image_diff/helpers/badge_helper.js
index eddaeda9578..000157efad0 100644
--- a/app/assets/javascripts/image_diff/helpers/badge_helper.js
+++ b/app/assets/javascripts/image_diff/helpers/badge_helper.js
@@ -12,7 +12,7 @@ export function createImageBadge(noteId, { x, y }, classNames = []) {
}
export function addImageBadge(containerEl, { coordinate, badgeText, noteId }) {
- const buttonEl = createImageBadge(noteId, coordinate, ['badge']);
+ const buttonEl = createImageBadge(noteId, coordinate, ['badge', 'badge-pill']);
buttonEl.innerText = badgeText;
containerEl.appendChild(buttonEl);