mirror of https://github.com/twbs/bootstrap.git
Add overflow suppression to custom file label (#32160)
Avoids unsightly spilling out of long filename text, particularly for multi file inputs Co-authored-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
parent
052f72d360
commit
e5b5881f8c
|
@ -348,6 +348,7 @@
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
height: $custom-file-height;
|
height: $custom-file-height;
|
||||||
padding: $custom-file-padding-y $custom-file-padding-x;
|
padding: $custom-file-padding-y $custom-file-padding-x;
|
||||||
|
overflow: hidden;
|
||||||
font-family: $custom-file-font-family;
|
font-family: $custom-file-font-family;
|
||||||
font-weight: $custom-file-font-weight;
|
font-weight: $custom-file-font-weight;
|
||||||
line-height: $custom-file-line-height;
|
line-height: $custom-file-line-height;
|
||||||
|
|
Loading…
Reference in New Issue