From e5b5881f8c804941a25ecd31b615830507010914 Mon Sep 17 00:00:00 2001 From: "Patrick H. Lauke" Date: Thu, 19 Nov 2020 14:29:57 +0000 Subject: [PATCH] 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 --- scss/_custom-forms.scss | 1 + 1 file changed, 1 insertion(+) 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;