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 @@ -193,8 +193,10 @@ export default class IgcFileInputComponent extends IgcInputBaseComponent {
193193 </ igc-button >
194194 </ div >
195195 < div part ="file-names ">
196- ${ this . _fileNames ??
197- html `< slot name ="file-missing-text "> ${ emptyText } </ slot > ` }
196+ < span >
197+ ${ this . _fileNames ??
198+ html `< slot name ="file-missing-text "> ${ emptyText } </ slot > ` }
199+ </ span >
198200 </ div >
199201 </ div >
200202 ` ;
Original file line number Diff line number Diff line change @@ -18,10 +18,15 @@ $theme: $base;
1818 }
1919
2020 [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% ;
2425 grid-area : 1 / 3 ;
26+
27+ > span {
28+ @include ellipsis ();
29+ }
2530 }
2631
2732 [part ~= ' container' ] {
@@ -39,6 +44,11 @@ $theme: $base;
3944 opacity : 0 ;
4045 }
4146
47+ [part ~= ' container' ],
48+ [part ~= ' input' ] {
49+ height : var-get ($theme , ' size' );
50+ }
51+
4252 [part ~= ' input' ]::file-selector-button {
4353 width : 100% ;
4454 cursor : auto ;
You can’t perform that action at this time.
0 commit comments