perf: 优化快捷命令样式

This commit is contained in:
“huailei000”
2023-02-23 11:31:48 +08:00
committed by huailei
parent 3597c52af8
commit c1f0fbbfd9

View File

@@ -1,6 +1,6 @@
<template>
<div style="position: relative;">
<div v-if="showToolBar" style="position: absolute;z-index: 99;right: 4px;margin-top: 4px">
<div v-if="showToolBar" class="actions">
<div
v-for="(item,index) in toolbar"
:key="index"
@@ -107,6 +107,13 @@ export default {
background-color: #FFFFFF;
}
.actions {
position: absolute;
right: 4px;
z-index: 2;
margin-top: 4px;
}
.el-button {
border: none;
padding: 2px;