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

Handle long template titles

Wraps unbroken titles and
uses fixed size to prevent
unexpected layout.

Behind work items feature flags.
上级 80523489
No related branches found
No related tags found
无相关合并请求
...@@ -138,9 +138,16 @@ export default { ...@@ -138,9 +138,16 @@ export default {
:selected="selectedTemplateValue" :selected="selectedTemplateValue"
:loading="loading" :loading="loading"
searchable searchable
block
class="gl-w-30"
@select="handleSelect" @select="handleSelect"
@search="handleSearch" @search="handleSearch"
> >
<template #list-item="{ item }">
<span class="gl-break-words">
{{ item.text }}
</span>
</template>
<template #footer> <template #footer>
<div class="gl-border-t gl-border-t-dropdown gl-p-2 gl-pt-0"> <div class="gl-border-t gl-border-t-dropdown gl-p-2 gl-pt-0">
<gl-button <gl-button
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册