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

This commit is contained in:
xuans committed 2026-10-18 20:43:52 +08:00
1 parent 0ce295e814
commit 689b27508d
2 files changed
+5 -2

No files matched your search

@@ -22,7 +22,8 @@
.table-container { .table-container {
border: 1px solid var(--pm-border-color); border: 1px solid var(--pm-border-color);
border-radius: var(--pm-radius-sm); border-radius: var(--pm-radius-sm);
overflow: hidden; overflow-x: auto;
overflow-y: hidden;
margin-bottom: 16px; margin-bottom: 16px;
} }
@@ -447,3 +448,4 @@
grid-template-columns: minmax(0, 1fr); grid-template-columns: minmax(0, 1fr);
} }
} }
@@ -84,7 +84,7 @@
</el-tag> </el-tag>
</template> </template>
</el-table-column> </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"> <template #default="scope">
<el-button <el-button
size="small" size="small"
@@ -435,3 +435,4 @@ const {
</script> </script>
<style scoped src="./UserManagement.css"></style> <style scoped src="./UserManagement.css"></style>