Skip to content

Commit

Permalink
Add overflow suppression to custom file label (#32160)
Browse files Browse the repository at this point in the history
Avoids unsightly spilling out of long filename text, particularly for multi file inputs

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
  • Loading branch information
patrickhlauke and XhmikosR committed Nov 19, 2020
1 parent 052f72d commit e5b5881
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scss/_custom-forms.scss
Expand Up @@ -348,6 +348,7 @@
z-index: 1;
height: $custom-file-height;
padding: $custom-file-padding-y $custom-file-padding-x;
overflow: hidden;
font-family: $custom-file-font-family;
font-weight: $custom-file-font-weight;
line-height: $custom-file-line-height;
Expand Down

0 comments on commit e5b5881

Please sign in to comment.