File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
packages/uui-card-media/lib Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ export class UUICardMediaElement extends UUICardElement {
118118 ${ this . href ? this . #renderLink( ) : this . #renderButton( ) }
119119 <!- - Select bor der must be right after .open-part -- >
120120 <div id= "select-border" > </ div>
121-
121+ ${ this . selectable ? this . renderCheckbox ( ) : nothing }
122122 <slot name= "tag" > </ slot>
123123 <slot name= "actions" > </ slot> ` ;
124124 }
@@ -208,7 +208,6 @@ export class UUICardMediaElement extends UUICardElement {
208208 # content {
209209 position : relative;
210210 display : flex;
211- width : 100% ;
212211 flex-direction : column;
213212 font-family : inherit;
214213 box-sizing : border-box;
Original file line number Diff line number Diff line change @@ -92,3 +92,10 @@ export const Image: Story = {
9292 chromatic : { disableSnapshot : true } ,
9393 } ,
9494} ;
95+
96+ export const Selectable : Story = {
97+ args : {
98+ selectable : true ,
99+ selectOnly : true ,
100+ } ,
101+ } ;
You can’t perform that action at this time.
0 commit comments