From f7a43ed6b7f5eab48b818b3379ae82c45fd1c291 Mon Sep 17 00:00:00 2001
From: "Sam A. Horvath-Hunt" <samhh.web@gmail.com>
Date: Tue, 29 Dec 2015 14:41:21 +0000
Subject: [PATCH] Add max-width to file browser; fixes #18651

---
 scss/_custom-forms.scss | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scss/_custom-forms.scss b/scss/_custom-forms.scss
index b418b84d48..4ffe79a6c3 100644
--- a/scss/_custom-forms.scss
+++ b/scss/_custom-forms.scss
@@ -175,11 +175,13 @@
 .file {
   position: relative;
   display: inline-block;
+  max-width: 100%;
   height: 2.5rem;
   cursor: pointer;
 }
 .file input {
   min-width: 14rem;
+  max-width: 100%;
   margin: 0;
   filter: alpha(opacity = 0);
   opacity: 0;
-- 
GitLab