]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Custom Forms: Allow Chrome/Firefox feature that lets the user drag and drop into...
authorPhillip Marshall <wizpig64@users.noreply.github.com>
Wed, 4 Jan 2017 03:44:44 +0000 (19:44 -0800)
committerMark Otto <markd.otto@gmail.com>
Wed, 4 Jan 2017 03:44:44 +0000 (19:44 -0800)
* Restored functionality of dragging files into .custom-file inputs.

* Replaced padding with height on .custom-file-input

scss/_custom-forms.scss

index 8c2ce328f6f02dae74380ef727c8f69123129701..ef2aab3544d0376b681652fbcdd6b4b0e7dbbe22 100644 (file)
 .custom-file-input {
   min-width: $custom-file-width;
   max-width: 100%;
+  height: $custom-file-height;
   margin: 0;
   filter: alpha(opacity = 0);
   opacity: 0;
   padding: $custom-file-padding-x $custom-file-padding-y;
   line-height: $custom-file-line-height;
   color: $custom-file-color;
+  pointer-events: none;
   user-select: none;
   background-color: $custom-file-bg;
   border: $custom-file-border-width solid $custom-file-border-color;