refactor: 顶部菜单工作空间名称过长显示问题
This commit is contained in:
parent
5102242aaf
commit
ba6f5d7072
|
@ -14,7 +14,7 @@
|
||||||
'WORKSPACE_USER:READ']">
|
'WORKSPACE_USER:READ']">
|
||||||
<template v-slot:title>
|
<template v-slot:title>
|
||||||
<div class="org-ws-name" :title="currentOrganizationName + '-' + currentWorkspaceName">
|
<div class="org-ws-name" :title="currentOrganizationName + '-' + currentWorkspaceName">
|
||||||
<div>{{ currentWorkspaceName || currentOrganizationName }}</div>
|
{{ currentWorkspaceName || currentOrganizationName }}
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<el-input :placeholder="$t('project.search_by_name')"
|
<el-input :placeholder="$t('project.search_by_name')"
|
||||||
|
@ -270,7 +270,7 @@ export default {
|
||||||
.org-ws-name {
|
.org-ws-name {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding-left: 15px;
|
padding-left: 15px;
|
||||||
max-width: 110px;
|
max-width: 120px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
|
Loading…
Reference in New Issue