diff --git a/app/src/assets/scss/business/_custom.scss b/app/src/assets/scss/business/_custom.scss index 1584d9598..ce656577e 100644 --- a/app/src/assets/scss/business/_custom.scss +++ b/app/src/assets/scss/business/_custom.scss @@ -50,6 +50,14 @@ padding: 4px 8px; font-size: 100%; border-bottom: 0; + + & > .block__icon { + cursor: grab; + + &:hover { + background-color: transparent; + } + } } .b3-text-field--text { diff --git a/app/src/assets/scss/util/_function.scss b/app/src/assets/scss/util/_function.scss index aedb40bd0..920b77a12 100644 --- a/app/src/assets/scss/util/_function.scss +++ b/app/src/assets/scss/util/_function.scss @@ -70,6 +70,10 @@ cursor: pointer; } + &__grab { + cursor: grab; + } + &__none { display: none !important; } diff --git a/app/src/protyle/gutter/index.ts b/app/src/protyle/gutter/index.ts index a05a17c09..9c7778caa 100644 --- a/app/src/protyle/gutter/index.ts +++ b/app/src/protyle/gutter/index.ts @@ -1936,7 +1936,7 @@ export class Gutter { const rowElement = hasClosestByClassName(target, "av__row"); if (rowElement && !rowElement.classList.contains("av__row--header")) { element = rowElement; - html = ``; + html = ``; if (!protyle.disabled) { html = `${html}`; } diff --git a/app/src/protyle/render/av/asset.ts b/app/src/protyle/render/av/asset.ts index 66537dcd6..ef640d279 100644 --- a/app/src/protyle/render/av/asset.ts +++ b/app/src/protyle/render/av/asset.ts @@ -67,7 +67,7 @@ export const getAssetHTML = (cellElements: HTMLElement[]) => { } html += ``; diff --git a/app/src/protyle/render/av/blockAttr.ts b/app/src/protyle/render/av/blockAttr.ts index 31abf350a..1dcf6fe9f 100644 --- a/app/src/protyle/render/av/blockAttr.ts +++ b/app/src/protyle/render/av/blockAttr.ts @@ -161,7 +161,7 @@ export const renderAVAttribute = (element: HTMLElement, id: string, protyle: IPr `; table.keyValues?.forEach(item => { html += `