1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-19 00:09:16 +08:00

style: Container style (#7422)

This commit is contained in:
jianneng-fit2cloud 2024-12-18 15:32:30 +08:00 committed by GitHub
parent 87616e388b
commit bc64d83ab2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -206,7 +206,7 @@
</el-table-column>
<el-table-column :label="$t('container.related')" min-width="210" prop="appName">
<template #default="{ row }">
<div>
<div class="cell-button-class">
<el-tooltip
v-if="row.appName != ''"
:hide-after="20"
@ -223,7 +223,7 @@
</el-button>
</el-tooltip>
</div>
<div>
<div class="cell-button-class">
<el-tooltip
v-if="row.websites != null"
:hide-after="20"
@ -251,7 +251,7 @@
prop="ports"
>
<template #default="{ row }">
<div v-if="row.ports">
<div v-if="row.ports" class="cell-button-class">
<div v-for="(item, index) in row.ports" :key="index">
<div v-if="row.expand || (!row.expand && index < 3)">
<el-tooltip :hide-after="20" :content="item" placement="top">
@ -786,4 +786,11 @@ onMounted(() => {
font-size: 6px;
cursor: pointer;
}
.cell-button-class {
button,
:deep(span) {
max-width: 100%;
overflow: hidden;
}
}
</style>