diff --git a/app/src/assets/scss/business/_av.scss b/app/src/assets/scss/business/_av.scss index 99a3abd5d..e77bc16f1 100644 --- a/app/src/assets/scss/business/_av.scss +++ b/app/src/assets/scss/business/_av.scss @@ -257,6 +257,7 @@ align-items: center; transition: background 20ms ease-in 0s; overflow: inherit; // 保证列宽和顺序调整的拖拽点样式 + border-right-color: transparent; &:hover { background-color: var(--b3-av-hover); @@ -358,7 +359,7 @@ display: flex; &.av__firstcol, - & > div:not(.av__cell--select):not(.av__cell--active) { + & > div:not(.av__cell--select):not(.av__cell--active):not(.av__calc--ashow) { background-color: var(--av-background); } } diff --git a/app/src/protyle/render/av/render.ts b/app/src/protyle/render/av/render.ts index 2c79830ee..310af1703 100644 --- a/app/src/protyle/render/av/render.ts +++ b/app/src/protyle/render/av/render.ts @@ -68,7 +68,7 @@ export const avRender = (element: Element, protyle: IProtyle, cb?: () => void, v } // header let tableHTML = '
'; - let calcHTML = '
'; + let calcHTML = ''; let pinIndex = -1; let pinMaxIndex = -1; let indexWidth = 0; @@ -87,7 +87,7 @@ export const avRender = (element: Element, protyle: IProtyle, cb?: () => void, v pinIndex = Math.min(pinIndex, pinMaxIndex); if (pinIndex > -1) { tableHTML = '
'; - calcHTML = '
'; + calcHTML = '
'; } data.columns.forEach((column: IAVColumn, index: number) => { if (column.hidden) { @@ -104,8 +104,8 @@ style="width: ${column.width || "200px"};"> if (pinIndex === index) { tableHTML += "
"; } - calcHTML += `
${getCalcValue(column) || '' + window.siyuan.languages.calc}
`; + calcHTML += `
${getCalcValue(column) || '' + window.siyuan.languages.calc}
`; if (pinIndex === index) { calcHTML += "
"; }