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=date],
|
||||||
input[type=number],
|
input[type=number],
|
||||||
input[type=tel],
|
input[type=tel],
|
||||||
|
input[type=file],
|
||||||
textarea,
|
textarea,
|
||||||
select {
|
select {
|
||||||
display: block;
|
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-radius: 4px;
|
||||||
border: solid 1px $border-grey;
|
border: solid 1px $border-grey;
|
||||||
margin-bottom: 2 * $default-padding;
|
|
||||||
padding: $default-padding;
|
padding: $default-padding;
|
||||||
|
|
||||||
&:disabled {
|
&:disabled {
|
||||||
|
@ -115,10 +130,6 @@
|
||||||
&.small {
|
&.small {
|
||||||
padding: $default-padding / 2;
|
padding: $default-padding / 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.small-margin {
|
|
||||||
margin-bottom: $default-padding / 2;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type=text],
|
input[type=text],
|
||||||
|
|
Loading…
Reference in a new issue