Merge pull request #9112 from dataease/pr@dev-v2@fix_panel

Pr@dev v2@fix panel
This commit is contained in:
王嘉豪 2024-04-15 18:55:44 +08:00 committed by GitHub
commit 6ff7bb2348
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 8 deletions

View File

@ -52,17 +52,17 @@ const colorButtonClick = () => {
padding-left: 5px;
padding-top: 5px;
&:hover {
padding-left: 4px;
padding-top: 4px;
border-width: 2px;
padding-left: 5px;
padding-top: 5px;
border-width: 1px;
border-color: var(--ed-color-primary-99, #3370ff99);
}
}
.color-button-active {
padding-left: 4px;
padding-top: 4px;
border-width: 2px;
border-color: var(--ed-color-primary);
padding-left: 5px;
padding-top: 5px;
border-width: 1px;
border-color: var(--ed-color-primary) !important;
}
.color-button-inner {

View File

@ -36,7 +36,7 @@ export function watermark(settings, domId) {
page_width = page_width - cutWidth
// 获取页面最大高度
let page_height = watermarkDom.scrollHeight - 56
page_height = page_height < 400 ? 400 : page_height
page_height = page_height < 220 ? 220 : page_height
// page_height = Math.max(page_height, window.innerHeight - 30)
// 如果将水印列数设置为0或水印列数设置过大超过页面最大宽度则重新计算水印列数和水印x轴间隔
if (

View File

@ -106,6 +106,7 @@ export function listenGlobalKeyDown() {
if (positionMoveKey[keyCode] && curComponent.value) {
positionMoveKey[keyCode](keyCode)
e.preventDefault()
e.stopPropagation()
} else if (keyCode === shiftKey) {
isShiftDown = true
composeStore.setIsShiftDownStatus(true)