diff --git a/app/src/assets/scss/component/_card.scss b/app/src/assets/scss/component/_card.scss index 5e3756725..2769d5f64 100644 --- a/app/src/assets/scss/component/_card.scss +++ b/app/src/assets/scss/component/_card.scss @@ -37,23 +37,24 @@ margin: 16px 0 16px 16px; img { - height: 54px; + height: 74px; object-fit: cover; border-radius: 4px; - width: 54px; + width: 74px; } } &__info { padding: 16px 16px 4px; + line-height: 18px; } &__desc { color: var(--b3-theme-on-surface); font-size: 12px; margin-top: 4px; - height: 36px; - @include text-clamp(2); + max-height: 54px; + @include text-clamp(3); } &__actions { @@ -61,5 +62,6 @@ display: flex; box-sizing: border-box; font-size: 12px; + line-height: 14px; } } diff --git a/app/src/config/bazaar.ts b/app/src/config/bazaar.ts index 4f2038cbe..181cf2790 100644 --- a/app/src/config/bazaar.ts +++ b/app/src/config/bazaar.ts @@ -14,6 +14,7 @@ import {setStorageVal} from "../protyle/util/compatibility"; import {hasClosestByAttribute, hasClosestByClassName} from "../protyle/util/hasClosest"; import {Plugin} from "../plugin"; import {App} from "../index"; +import {escapeAttr} from "../util/escape"; export const bazaar = { element: undefined as Element, @@ -183,7 +184,7 @@ export const bazaar = {
${item.preferredName} ${item.name} -
+
${item.preferredDesc || ""}
@@ -253,7 +254,7 @@ export const bazaar = {
${item.preferredName} ${item.name} -
${item.preferredDesc || ""}
+
${item.preferredDesc || ""}
${item.preferredFunding ? `` : ""}