Better layout for user & category selectboxes

This commit is contained in:
Nathan Gray 2015-11-23 22:44:16 +00:00
parent 871efde40d
commit 187614dddb
2 changed files with 9 additions and 1 deletions

View File

@ -2843,7 +2843,7 @@ app.classes.calendar = AppJS.extend(
var button = $j('#calendar-sidebox_owner ~ span.et2_clickable');
if(button.length == 1)
{
button.parent().width(button.parent().width() - button.width());
button.parent().css('margin-right',button.outerWidth(true)+2);
button.parent().parent().css('white-space','nowrap');
}
},

View File

@ -19,9 +19,17 @@
#calendar-sidebox_owner {
width: 90%;
}
#calendar-sidebox_owner ~ * {
vertical-align: top;
display: inline-block;
}
#calendar-sidebox_cat_id {
width: 90%;
}
#calendar-sidebox_cat_id ~ * {
vertical-align: top;
display: inline-block;
}
#calendar-sidebox_buttons tbody {
width: 100%;
}