修复用户管理操作列在容器窄宽下的显示问题并固定右侧

This commit is contained in:
smail 2026-10-18 20:43:52 +08:00
parent 0ce295e814
commit 689b27508d
2 changed files with 5 additions and 2 deletions

View File

@ -22,7 +22,8 @@
.table-container {
border: 1px solid var(--pm-border-color);
border-radius: var(--pm-radius-sm);
overflow: hidden;
overflow-x: auto;
overflow-y: hidden;
margin-bottom: 16px;
}
@ -447,3 +448,4 @@
grid-template-columns: minmax(0, 1fr);
}
}

View File

@ -84,7 +84,7 @@
</el-tag>
</template>
</el-table-column>
<el-table-column label="操作" align="right" :width="canManageMembership ? 186 : 126">
<el-table-column label="操作" align="right" :width="canManageMembership ? 186 : 126" fixed="right">
<template #default="scope">
<el-button
size="small"
@ -435,3 +435,4 @@ const {
</script>
<style scoped src="./UserManagement.css"></style>