style(系统设置): 修改系统组织与项目创建人样式换行问题

This commit is contained in:
xinxin.wu 2024-06-26 18:27:01 +08:00 committed by 刘瑞斌
parent 2243142491
commit d0ba57774a
2 changed files with 4 additions and 5 deletions

View File

@ -1,7 +1,7 @@
<template>
<div class="flex flex-row flex-nowrap">
<a-tooltip content-class="max-w-[600px]" :content="props.name">
<div class="flex flex-row flex-nowrap">{{ characterLimit(props.name) }}</div>
<div class="flex w-full flex-row flex-nowrap">
<a-tooltip :content="props.name">
<div class="one-line-text max-w-[calc(100%-60px)]">{{ props.name }}</div>
</a-tooltip>
<div v-if="props.isAdmin" class="ml-1 flex flex-row flex-nowrap text-[var(--color-text-4)]">{{
`(${t('common.admin')})`
@ -11,7 +11,6 @@
<script lang="ts" setup>
import { useI18n } from '@/hooks/useI18n';
import { characterLimit } from '@/utils';
const { t } = useI18n();
const props = withDefaults(defineProps<{ name?: string; isAdmin?: boolean }>(), { isAdmin: false });

View File

@ -183,7 +183,7 @@
title: 'system.organization.creator',
slotName: 'creator',
dataIndex: 'createUser',
width: 125,
width: 200,
showTooltip: false,
},
{