diff --git a/app/src/assets/scss/component/_card.scss b/app/src/assets/scss/component/_card.scss index b4fa5237d..faf22f41e 100644 --- a/app/src/assets/scss/component/_card.scss +++ b/app/src/assets/scss/component/_card.scss @@ -46,6 +46,11 @@ &__info { padding: 16px 16px 4px; line-height: 18px; + + &--left { + padding-bottom: 16px; + padding-right: 8px; + } } &__desc { @@ -62,5 +67,15 @@ box-sizing: border-box; font-size: 12px; line-height: 14px; + + &--right { + padding-left: 0; + padding-bottom: 0; + align-items: center; + + .block__icon { + margin-left: 8px; + } + } } } diff --git a/app/src/config/bazaar.ts b/app/src/config/bazaar.ts index 6a2eb6a80..497fac950 100644 --- a/app/src/config/bazaar.ts +++ b/app/src/config/bazaar.ts @@ -11,7 +11,7 @@ import * as path from "path"; /// #endif import {getFrontend, isBrowser} from "../util/functions"; import {setStorageVal} from "../protyle/util/compatibility"; -import {hasClosestByAttribute} from "../protyle/util/hasClosest"; +import {hasClosestByAttribute, hasClosestByClassName} from "../protyle/util/hasClosest"; import {Plugin} from "../plugin"; import {App} from "../index"; import {escapeAttr} from "../util/escape"; @@ -73,11 +73,11 @@ export const bazaar = { return `