Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick H. Lauke <redux@splintered.co.uk>2020-11-13 19:52:42 +0300
committerGitHub <noreply@github.com>2020-11-13 19:52:42 +0300
commitd3cb97ad7139bfaa145338ffe0ac93111386f33d (patch)
tree6c4bbf938feb04d341f84d4bdb2cbd000f4e16a1
parentc41897ca980a55cd91bae79e4e4d37ff93fd9d3b (diff)
Avoid invisible real file input "spilling" out of container (#32145)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
-rw-r--r--scss/_custom-forms.scss1
1 files changed, 1 insertions, 0 deletions
diff --git a/scss/_custom-forms.scss b/scss/_custom-forms.scss
index 0057b330f1..3bf89628ad 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 {