mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-07 04:54:24 +01:00
Custom Forms: Allow Chrome/Firefox feature that lets the user drag and drop into file inputs (#20033)
* Restored functionality of dragging files into .custom-file inputs. * Replaced padding with height on .custom-file-input
This commit is contained in:
parent
0ffd369afd
commit
1b194c0660
@ -206,6 +206,7 @@
|
|||||||
.custom-file-input {
|
.custom-file-input {
|
||||||
min-width: $custom-file-width;
|
min-width: $custom-file-width;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
height: $custom-file-height;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
filter: alpha(opacity = 0);
|
filter: alpha(opacity = 0);
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
@ -225,6 +226,7 @@
|
|||||||
padding: $custom-file-padding-x $custom-file-padding-y;
|
padding: $custom-file-padding-x $custom-file-padding-y;
|
||||||
line-height: $custom-file-line-height;
|
line-height: $custom-file-line-height;
|
||||||
color: $custom-file-color;
|
color: $custom-file-color;
|
||||||
|
pointer-events: none;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
background-color: $custom-file-bg;
|
background-color: $custom-file-bg;
|
||||||
border: $custom-file-border-width solid $custom-file-border-color;
|
border: $custom-file-border-width solid $custom-file-border-color;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user