File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
packages/uui-card-media/lib Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ export class UUICardMediaElement extends UUICardElement {
106
106
<!- -
107
107
TODO: Implement info box when pop- out is ready
108
108
- - >
109
- <span id= "name" > ${ this . name } </ span>
109
+ <span id= "name" title = " ${ this . name } " > ${ this . name } </ span>
110
110
<small id= "detail" > ${ this . detail } <slot name= "detail" > </ slot> </ small>
111
111
</ div>
112
112
` ;
@@ -191,6 +191,15 @@ export class UUICardMediaElement extends UUICardElement {
191
191
text-decoration : underline;
192
192
}
193
193
194
+ # open-part # name {
195
+ display : -webkit-box;
196
+ -webkit-line-clamp : 1 ;
197
+ -webkit-box-orient : vertical;
198
+ overflow : hidden;
199
+ text-overflow : ellipsis;
200
+ overflow-wrap : anywhere;
201
+ }
202
+
194
203
: host ([image ]: not ([image = '' ])) # open-part {
195
204
transition : opacity 0.5s 0.5s ;
196
205
opacity : 0 ;
You can’t perform that action at this time.
0 commit comments