diff --git a/packages/kotti-ui/source/kotti-card/KtCard.vue b/packages/kotti-ui/source/kotti-card/KtCard.vue index bcde77aae9..557ded79d3 100644 --- a/packages/kotti-ui/source/kotti-card/KtCard.vue +++ b/packages/kotti-ui/source/kotti-card/KtCard.vue @@ -33,7 +33,7 @@ export default defineComponent({ })), imageRowClass: computed(() => ({ 'kt-card__image-row': true, - [`kt-card__image-row--is-${props.imgPosition}`]: true, + [`kt-card__image-row--is-${props.imgPosition}`]: props.imgUrl, })), KottiCard, } @@ -45,11 +45,11 @@ export default defineComponent({ .kt-card { display: flex; flex-direction: column; + padding: var(--unit-4); word-break: break-word; background: var(--ui-background); border: 1px solid var(--ui-02); border-radius: var(--border-radius); - padding: var(--unit-4); &--has-top-image { padding-top: 0;