From d3cb97ad7139bfaa145338ffe0ac93111386f33d Mon Sep 17 00:00:00 2001 From: "Patrick H. Lauke" Date: Fri, 13 Nov 2020 16:52:42 +0000 Subject: [PATCH] Avoid invisible real file input "spilling" out of container (#32145) 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 0057b330f1c6..3bf89628ad2a 100644 --- a/scss/_custom-forms.scss +++ b/scss/_custom-forms.scss @@ -315,6 +315,7 @@ width: 100%; height: $custom-file-height; margin: 0; + overflow: hidden; opacity: 0; &:focus ~ .custom-file-label {