update:修改部分样式

This commit is contained in:
3030332422
2026-07-13 15:44:06 +08:00
parent d78ecfce6f
commit 176785830a
@@ -3,7 +3,7 @@
<el-dialog <el-dialog
:title="$t('agentSnapshot.title')" :title="$t('agentSnapshot.title')"
:visible="visible" :visible="visible"
width="760px" width="860px"
class="agent-snapshot-dialog" class="agent-snapshot-dialog"
:before-close="guardRestoreInFlightClose" :before-close="guardRestoreInFlightClose"
:close-on-click-modal="!restoring" :close-on-click-modal="!restoring"
@@ -19,15 +19,16 @@
</div> </div>
</template> </template>
<el-table <div class="snapshot-table-wrapper">
v-loading="loading" <el-table
:data="snapshots" v-loading="loading"
:row-key="snapshotRowKey" :data="snapshots"
:row-class-name="snapshotRowClassName" :row-key="snapshotRowKey"
size="small" :row-class-name="snapshotRowClassName"
class="snapshot-table" size="small"
:empty-text="loading ? ' ' : $t('agentSnapshot.empty')" class="snapshot-table"
> :empty-text="loading ? ' ' : $t('agentSnapshot.empty')"
>
<el-table-column <el-table-column
prop="versionNo" prop="versionNo"
:label="$t('agentSnapshot.version')" :label="$t('agentSnapshot.version')"
@@ -107,7 +108,8 @@
</el-button> </el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
</div>
<div class="pagination-row"> <div class="pagination-row">
<el-pagination <el-pagination
@@ -2224,6 +2226,12 @@ export default {
width: 100%; width: 100%;
} }
.snapshot-table-wrapper {
max-height: 62vh;
overflow: auto;
@include scrollbar-style;
}
.version-cell { .version-cell {
display: inline-flex; display: inline-flex;
gap: 6px; gap: 6px;