Skip to content
代码片段 群组 项目
未验证 提交 dfe79b82 编辑于 作者: Simon Knox's avatar Simon Knox 提交者: GitLab
浏览文件

Merge branch 'wi-labels-items-nl' into 'master'

Work items: Clean up labels UI

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/183767



Merged-by: default avatarSimon Knox <simon@gitlab.com>
Approved-by: default avatarSimon Knox <simon@gitlab.com>
Co-authored-by: default avatarNick Leonard <nleonard@gitlab.com>
No related branches found
No related tags found
2 合并请求!3031Merge per-main-jh to main-jh by luzhiyuan,!3030Merge per-main-jh to main-jh
...@@ -344,12 +344,13 @@ export default { ...@@ -344,12 +344,13 @@ export default {
@updateSelected="updateLabel" @updateSelected="updateLabel"
> >
<template #list-item="{ item }"> <template #list-item="{ item }">
<span <div class="gl-flex gl-items-center gl-gap-3 gl-break-anywhere">
:style="{ background: item.color }" <span
:class="{ 'gl-border gl-border-white': isSelected(item.value) }" :style="{ background: item.color }"
class="gl-rounded -gl-mt-1 gl-mr-1 gl-inline-block gl-h-3 gl-w-5 gl-align-middle" class="gl-border gl-h-3 gl-w-5 gl-shrink-0 gl-rounded-base gl-border-white"
></span> ></span>
{{ item.text }} {{ item.text }}
</div>
</template> </template>
<template #readonly> <template #readonly>
<div class="gl-mt-1 gl-flex gl-flex-wrap gl-gap-2"> <div class="gl-mt-1 gl-flex gl-flex-wrap gl-gap-2">
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册