Skip to content

Commit 8adfe87

Browse files
committed
clean up
1 parent 582bb93 commit 8adfe87

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

packages/uui-card-media/lib/uui-card-media.element.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,7 @@ export class UUICardMediaElement extends UUICardElement {
9494
ifDefined(
9595
this.target === '_blank' ? 'noopener noreferrer' : undefined,
9696
),
97-
)}
98-
@click=${(e: MouseEvent) => e.stopPropagation()}>
97+
)}>
9998
${this.#renderContent()}
10099
</a>
101100
`;
@@ -121,9 +120,7 @@ export class UUICardMediaElement extends UUICardElement {
121120
<div id="select-border"></div>
122121
123122
<slot name="tag"></slot>
124-
<slot
125-
name="actions"
126-
@click=${(e: MouseEvent) => e.stopPropagation()}></slot>`;
123+
<slot name="actions"></slot>`;
127124
}
128125

129126
static styles = [

0 commit comments

Comments
 (0)