Merge pull request #2286 from betagouv/fix-input-file-margin
Fix input[type=file] margin
This commit is contained in:
commit
d90d15e856
1 changed files with 16 additions and 5 deletions
|
@ -100,12 +100,27 @@
|
|||
input[type=date],
|
||||
input[type=number],
|
||||
input[type=tel],
|
||||
input[type=file],
|
||||
textarea,
|
||||
select {
|
||||
display: block;
|
||||
margin-bottom: 2 * $default-padding;
|
||||
|
||||
&.small-margin {
|
||||
margin-bottom: $default-padding / 2;
|
||||
}
|
||||
}
|
||||
|
||||
input[type=text]:not([data-address='true']),
|
||||
input[type=email],
|
||||
input[type=password],
|
||||
input[type=date],
|
||||
input[type=number],
|
||||
input[type=tel],
|
||||
textarea,
|
||||
select {
|
||||
border-radius: 4px;
|
||||
border: solid 1px $border-grey;
|
||||
margin-bottom: 2 * $default-padding;
|
||||
padding: $default-padding;
|
||||
|
||||
&:disabled {
|
||||
|
@ -115,10 +130,6 @@
|
|||
&.small {
|
||||
padding: $default-padding / 2;
|
||||
}
|
||||
|
||||
&.small-margin {
|
||||
margin-bottom: $default-padding / 2;
|
||||
}
|
||||
}
|
||||
|
||||
input[type=text],
|
||||
|
|
Loading…
Reference in a new issue