make new article dialog more responsive
This commit is contained in:
parent
58de1a231b
commit
85b6ff908b
3 changed files with 41 additions and 25 deletions
|
|
@ -248,11 +248,28 @@ tr.unavailable {
|
|||
margin: 0;
|
||||
}
|
||||
|
||||
.inline-inputs {
|
||||
.control-label {
|
||||
float: none;
|
||||
display: inline;
|
||||
vertical-align: middle;
|
||||
margin: 0 10px;
|
||||
// two-column layout in forms (landscape tablet and wider only)
|
||||
@media (min-width: 768px) {
|
||||
.form-horizontal .twocol {
|
||||
.control-group:nth-child(odd) {
|
||||
float: left;
|
||||
}
|
||||
.control-group:nth-child(even) {
|
||||
.control-label {
|
||||
width: auto;
|
||||
margin: 0 10px;
|
||||
}
|
||||
// fix margin somehow off
|
||||
// XXX there must be a better way
|
||||
margin-bottom: 0;
|
||||
.controls p {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// allow to have indicator text instead of input with same markup
|
||||
.control-text {
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue