refactor: 顶部菜单工作空间名称过长显示问题

This commit is contained in:
shiziyuan9527 2021-07-27 16:30:13 +08:00 committed by 刘瑞斌
parent 5102242aaf
commit ba6f5d7072
1 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@
'WORKSPACE_USER:READ']">
<template v-slot:title>
<div class="org-ws-name" :title="currentOrganizationName + '-' + currentWorkspaceName">
<div>{{ currentWorkspaceName || currentOrganizationName }}</div>
{{ currentWorkspaceName || currentOrganizationName }}
</div>
</template>
<el-input :placeholder="$t('project.search_by_name')"
@ -270,7 +270,7 @@ export default {
.org-ws-name {
display: inline-block;
padding-left: 15px;
max-width: 110px;
max-width: 120px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;