mirror of
https://github.com/jumpserver/lina.git
synced 2025-07-13 15:04:43 +00:00
perf: 调整table列表-操作内容居中显示
This commit is contained in:
parent
06bd68a874
commit
dcb87c6216
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div :class="grouped ? 'el-button-group' : 'el-button-ungroup'" style="display: flex">
|
<div :class="grouped ? 'el-button-group' : 'el-button-ungroup'" class="layout">
|
||||||
<template v-for="action in iActions">
|
<template v-for="action in iActions">
|
||||||
<el-dropdown
|
<el-dropdown
|
||||||
v-if="action.dropdown"
|
v-if="action.dropdown"
|
||||||
@ -154,6 +154,11 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
.layout {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
.dropdown-menu-title {
|
.dropdown-menu-title {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
@ -170,7 +175,11 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.el-button-ungroup .action-item {
|
.el-button-ungroup .action-item {
|
||||||
margin-left: 4px
|
margin-left: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-dropdown .el-dropdown-selfdefine {
|
||||||
|
padding: 2px 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-button-ungroup .action-item:first-child {
|
.el-button-ungroup .action-item:first-child {
|
||||||
|
Loading…
Reference in New Issue
Block a user