This commit is contained in:
Vanessa 2024-01-20 23:15:27 +08:00
parent 17e52cc49c
commit dc32cccf0e
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@
}
.block__icons {
min-height: auto;
box-sizing: border-box;
padding: 4px 8px;
font-size: 100%;
border-bottom: 0;

View file

@ -170,7 +170,7 @@ export const renderAVAttribute = (element: HTMLElement, id: string, protyle: IPr
</div>
<div data-av-id="${table.avID}" data-col-id="${item.values[0].keyID}" data-block-id="${item.values[0].blockID}" data-id="${item.values[0].id}" data-type="${item.values[0].type}"
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) ? "" : " custom-attr__avvalue"}">
class="fn__flex-1 fn__flex${["url", "text", "number", "email", "phone", "block"].includes(item.values[0].type) ? "" : " custom-attr__avvalue"}">
${genAVValueHTML(item.values[0])}
</div>
</div>`;