+
@@ -12,8 +25,11 @@
v-if="
$slots.title || $slots.element || $slots.subtitle || $slots.description
"
- :class="{ 'bg-surface-light': props.hasGreyBackground === true }"
- class="content-element-bar-texts rounded-b py-4"
+ :class="{
+ 'bg-surface-light': props.hasGreyBackground === true,
+ 'content-element-bar-texts-listboard': hasRowStyle,
+ }"
+ class="content-element-bar-texts py-4"
>
,
required: false,
@@ -91,6 +111,15 @@ const props = defineProps({
.content-element-bar {
position: relative;
}
+
+.content-element-bar-texts-listboard {
+ flex: 0 0 67%;
+}
+
+.content-element-display-listboard {
+ flex: 0 0 33%;
+}
+
.content-element-bar:hover {
.content-element-title {
text-decoration: underline;
diff --git a/src/modules/ui/preview-image/PreviewImage.vue b/src/modules/ui/preview-image/PreviewImage.vue
index 3d26fc48ec..6e10886022 100644
--- a/src/modules/ui/preview-image/PreviewImage.vue
+++ b/src/modules/ui/preview-image/PreviewImage.vue
@@ -5,7 +5,7 @@
> = Symbol(
export const BOARD_CARD_IS_LAST_ELEMENT: InjectionKey[> = Symbol(
"BoardCardIsLastElement"
);
+
+export const BOARD_IS_LIST_LAYOUT: InjectionKey][> =
+ Symbol("BoardHasListLayout");
diff --git a/src/modules/util/board/index.ts b/src/modules/util/board/index.ts
index d758082d6b..4f5293fef1 100644
--- a/src/modules/util/board/index.ts
+++ b/src/modules/util/board/index.ts
@@ -5,6 +5,7 @@ import {
BOARD_CARD_IS_FIRST_ELEMENT,
BOARD_CARD_IS_LAST_ELEMENT,
BOARD_HAS_MULTIPLE_COLUMNS,
+ BOARD_IS_LIST_LAYOUT,
BOARD_IS_FIRST_COLUMN,
BOARD_IS_LAST_COLUMN,
} from "./board-injection-tokens";
@@ -20,4 +21,5 @@ export {
BOARD_HAS_MULTIPLE_COLUMNS,
BOARD_IS_FIRST_COLUMN,
BOARD_IS_LAST_COLUMN,
+ BOARD_IS_LIST_LAYOUT,
};
]