simple_form: Don't hide hints on mobile. Fix #4997
Hints are displayed below their fields on small screens.
This commit is contained in:
@@ -39,7 +39,8 @@ form.simple_form {
|
||||
padding-left: 1em;
|
||||
|
||||
@media (max-width: 660px) {
|
||||
display: none;
|
||||
padding-left: 0;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -125,6 +126,11 @@ form.inline-form {
|
||||
display: table-cell;
|
||||
line-height: 1em;
|
||||
}
|
||||
|
||||
span.hint {
|
||||
line-height: 1em;
|
||||
padding-bottom: 0.5em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user