diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-26 03:10:08 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-26 03:10:08 +0300 |
commit | dac3263909b0bc570d58b4385c2a56e5351222e3 (patch) | |
tree | d587db1580054a82296f48eaf31ae1f50b4810b0 /app/assets/javascripts/vue_shared | |
parent | 1c61faf876f0da721dde9dc52fb28ab0e7330c6d (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/vue_shared')
-rw-r--r-- | app/assets/javascripts/vue_shared/components/ci_badge_link.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/vue_shared/components/ci_badge_link.vue b/app/assets/javascripts/vue_shared/components/ci_badge_link.vue index 101ebcd1c48..036c03a9a1e 100644 --- a/app/assets/javascripts/vue_shared/components/ci_badge_link.vue +++ b/app/assets/javascripts/vue_shared/components/ci_badge_link.vue @@ -59,8 +59,8 @@ export default { }, }, computed: { - isSmallBadgeSize() { - return this.size === badgeSizeOptions.sm; + isNotLargeBadgeSize() { + return this.badgeSize !== badgeSizeOptions.lg; }, title() { return !this.showText ? this.status?.text : ''; @@ -121,7 +121,7 @@ export default { <template> <gl-badge v-gl-tooltip - :class="{ 'gl-pl-2': isSmallBadgeSize, 'gl-p-2!': !showText }" + :class="{ 'gl-px-2': !showText && isNotLargeBadgeSize }" :title="title" :href="detailsPath" :size="size" |