Linked cards: drop the in-card hint label — the whole card is the link, hover already affords it (link_label fields retired from pages, CMS config and preview)
deploy / build-and-publish (push) Successful in 40s
deploy / build-and-publish (push) Successful in 40s
This commit is contained in:
1 parent
20abb13cbc
commit
4069fae97c
6 files changed
+3
-20
No files matched your search
@@ -114,8 +114,7 @@ const PagePreview = ({ entry, widgetFor, widgetsFor }) => {
|
||||
html`<div class="pv-card" data-key-path={`value_props.${i}.heading`} tabindex="0">
|
||||
<strong>${v.get("heading")}</strong>
|
||||
<small>${v.get("text")}</small>
|
||||
${v.get("link") &&
|
||||
html`<span class="pv-link">→ ${v.get("link_label") || "Read more"}</span>`}
|
||||
${v.get("link") && html`<span class="pv-link">→</span>`}
|
||||
</div>`,
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user