画布工具添加滚动条功能
This commit is contained in:
@@ -173,7 +173,8 @@ const normalToolsList = ref([
|
||||
icon: { name: "CHelp", size: "30" },
|
||||
class: "text-btn",
|
||||
style: {
|
||||
'margin-top': 'auto',
|
||||
'position': 'absolute',
|
||||
'bottom': '0',
|
||||
},
|
||||
},
|
||||
]);
|
||||
@@ -369,6 +370,7 @@ const handleToolClick = (tool) => {
|
||||
:can-undo="canUndo"
|
||||
:can-redo="canRedo"
|
||||
@click="handleToolClick"
|
||||
tip-body
|
||||
/>
|
||||
|
||||
<!-- 自定义工具栏按钮插槽 -->
|
||||
@@ -389,6 +391,7 @@ const handleToolClick = (tool) => {
|
||||
min-width: 5.8rem;
|
||||
height: 100%;
|
||||
padding-top: .5rem;
|
||||
padding-bottom: 4rem;
|
||||
/* overflow-y: auto; */
|
||||
/* overflow-x: hidden; */
|
||||
}
|
||||
@@ -397,6 +400,8 @@ const handleToolClick = (tool) => {
|
||||
flex-direction: column;
|
||||
gap: 1.0rem;
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
.red-green-mode {
|
||||
background-color: #fff4f4;
|
||||
|
||||
Reference in New Issue
Block a user