diff --git a/app/src/assets/scss/business/_custom.scss b/app/src/assets/scss/business/_custom.scss index 92350e033fe..d6e3abc84da 100644 --- a/app/src/assets/scss/business/_custom.scss +++ b/app/src/assets/scss/business/_custom.scss @@ -83,6 +83,29 @@ } } + .block__icons--addcolumn { + padding: 0 8px; + + .b3-button[data-type="addColumn"] { + margin: 0 0 0 16px; + color: var(--b3-theme-on-surface); + background-color: rgba(0,0,0,0); + + &:hover, + &:focus { + background-color: var(--b3-list-hover); + box-shadow: none; + } + + svg { + padding: 4px; + } + } + span { + padding-right: 4px; + } + } + .b3-text-field--text { transition: var(--b3-transition); min-height: 34px; diff --git a/app/src/protyle/render/av/blockAttr.ts b/app/src/protyle/render/av/blockAttr.ts index 3e795eeaab3..763a59b9469 100644 --- a/app/src/protyle/render/av/blockAttr.ts +++ b/app/src/protyle/render/av/blockAttr.ts @@ -192,10 +192,10 @@ data-options="${item.key?.options ? escapeAttr(JSON.stringify(item.key.options)) class="fn__flex-1 fn__flex${["url", "text", "number", "email", "phone"].includes(item.values[0].type) ? "" : ["block", "created", "updated"].includes(item.values[0].type) ? " custom-attr__avvalue--readonly" : " custom-attr__avvalue"}">${genAVValueHTML(item.values[0])} `; }); - innerHTML += `
+ innerHTML += `