File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -236,7 +236,10 @@ export class UUIInputFileElement extends FormControlMixin(LitElement) {
236
236
private _renderFileItem ( file : File , index : number ) {
237
237
return html `< uui-file-preview .file ="${ file } ">
238
238
< uui-action-bar slot ="actions ">
239
- < uui-button @click =${ ( ) => this . _removeFile ( index ) } look ="danger">
239
+ < uui-button
240
+ @click =${ ( ) => this . _removeFile ( index ) }
241
+ look ="danger"
242
+ label=${ `Delete ${ file . name } ` } >
240
243
< uui-icon name ="delete " .fallback =${ iconDelete . strings [ 0 ] } > </ uui-icon >
241
244
</ uui-button >
242
245
</ uui-action-bar >
Original file line number Diff line number Diff line change @@ -24,6 +24,10 @@ export class UUISymbolFileElement extends LitElement {
24
24
font-weight: 700;
25
25
color: var(--uui-color-gunmetal);
26
26
background-color: var(--uui-color-spanish-pink);
27
+ max-width: 100%;
28
+ white-space: nowrap;
29
+ overflow: hidden;
30
+ text-overflow: ellipsis;
27
31
}
28
32
29
33
#icon {
You can’t perform that action at this time.
0 commit comments