File tree Expand file tree Collapse file tree 2 files changed +17
-5
lines changed
src/components/file-input Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -190,8 +190,10 @@ export default class IgcFileInputComponent extends IgcInputBaseComponent {
190
190
</ igc-button >
191
191
</ div >
192
192
< div part ="file-names ">
193
- ${ this . _fileNames ??
194
- html `< slot name ="file-missing-text "> ${ emptyText } </ slot > ` }
193
+ < span >
194
+ ${ this . _fileNames ??
195
+ html `< slot name ="file-missing-text "> ${ emptyText } </ slot > ` }
196
+ </ span >
195
197
</ div >
196
198
</ div >
197
199
` ;
Original file line number Diff line number Diff line change @@ -18,10 +18,15 @@ $theme: $base;
18
18
}
19
19
20
20
[part = ' file-names' ] {
21
- @include ellipsis ();
22
-
23
- align-content : center ;
21
+ display : flex ;
22
+ align-items : center ;
23
+ max-height : var-get ($theme , ' size' );
24
+ height : 100% ;
24
25
grid-area : 1 / 3 ;
26
+
27
+ > span {
28
+ @include ellipsis ();
29
+ }
25
30
}
26
31
27
32
[part ~= ' container' ] {
@@ -39,6 +44,11 @@ $theme: $base;
39
44
opacity : 0 ;
40
45
}
41
46
47
+ [part ~= ' container' ],
48
+ [part ~= ' input' ] {
49
+ height : var-get ($theme , ' size' );
50
+ }
51
+
42
52
[part ~= ' input' ]::file-selector-button {
43
53
width : 100% ;
44
54
cursor : auto ;
You can’t perform that action at this time.
0 commit comments