mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-19 08:19:15 +08:00
style: Container style (#7422)
This commit is contained in:
parent
87616e388b
commit
bc64d83ab2
@ -206,7 +206,7 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column :label="$t('container.related')" min-width="210" prop="appName">
|
<el-table-column :label="$t('container.related')" min-width="210" prop="appName">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<div>
|
<div class="cell-button-class">
|
||||||
<el-tooltip
|
<el-tooltip
|
||||||
v-if="row.appName != ''"
|
v-if="row.appName != ''"
|
||||||
:hide-after="20"
|
:hide-after="20"
|
||||||
@ -223,7 +223,7 @@
|
|||||||
</el-button>
|
</el-button>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div class="cell-button-class">
|
||||||
<el-tooltip
|
<el-tooltip
|
||||||
v-if="row.websites != null"
|
v-if="row.websites != null"
|
||||||
:hide-after="20"
|
:hide-after="20"
|
||||||
@ -251,7 +251,7 @@
|
|||||||
prop="ports"
|
prop="ports"
|
||||||
>
|
>
|
||||||
<template #default="{ row }">
|
<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-for="(item, index) in row.ports" :key="index">
|
||||||
<div v-if="row.expand || (!row.expand && index < 3)">
|
<div v-if="row.expand || (!row.expand && index < 3)">
|
||||||
<el-tooltip :hide-after="20" :content="item" placement="top">
|
<el-tooltip :hide-after="20" :content="item" placement="top">
|
||||||
@ -786,4 +786,11 @@ onMounted(() => {
|
|||||||
font-size: 6px;
|
font-size: 6px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
.cell-button-class {
|
||||||
|
button,
|
||||||
|
:deep(span) {
|
||||||
|
max-width: 100%;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user