Skip to content

Commit 0d39330

Browse files
committedJan 2, 2025
Hide box shadow in preview component
1 parent 504856a commit 0d39330

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
 

‎packages/host/app/components/matrix/room-message-command.gts

+1
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ export default class RoomMessageCommand extends Component<Signature> {
243243
<Preview
244244
@card={{this.commandResultCard.card}}
245245
@format='embedded'
246+
@displayContainer={{false}}
246247
data-test-boxel-command-result
247248
/>
248249
</CardContainer>

‎packages/host/app/components/preview.gts

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ interface Signature {
2424
field?: Field;
2525
codeRef?: ResolvedCodeRef;
2626
cardContext?: Record<string, any>;
27+
displayContainer?: boolean;
2728
};
2829
}
2930

@@ -46,7 +47,7 @@ export default class Preview extends Component<Signature> {
4647
}
4748

4849
<template>
49-
<this.renderedCard ...attributes />
50+
<this.renderedCard @displayContainer={{@displayContainer}} ...attributes />
5051
</template>
5152

5253
get renderedCard() {

0 commit comments

Comments
 (0)