diff options
author | Patrick H. Lauke <redux@splintered.co.uk> | 2020-11-19 17:29:57 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-19 17:29:57 +0300 |
commit | e5b5881f8c804941a25ecd31b615830507010914 (patch) | |
tree | 9c5c1e58abe79ba9b706ace1b8c8cbd345965aea | |
parent | 052f72d360c4779b812e7c4b74b3c3bb31745b0e (diff) |
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>
-rw-r--r-- | scss/_custom-forms.scss | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scss/_custom-forms.scss b/scss/_custom-forms.scss index 0d68435324..4afc080876 100644 --- a/scss/_custom-forms.scss +++ b/scss/_custom-forms.scss @@ -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; |