diff --git a/include/staff/templates/dynamic-form.tmpl.php b/include/staff/templates/dynamic-form.tmpl.php index b178b2fff3f10a3e92f6421e9ecdc39700baffaa..09d97ab650ab3d79df393153cda76fb999eeb980 100644 --- a/include/staff/templates/dynamic-form.tmpl.php +++ b/include/staff/templates/dynamic-form.tmpl.php @@ -1,3 +1,4 @@ +<tr><td style="width:150px"></td><td></td></tr> <?php if ($form->getTitle()) { ?> <tr><th colspan="2"> <em><strong><?php echo Format::htmlchars($form->getTitle()); ?></strong>: diff --git a/include/staff/templates/user-lookup.tmpl.php b/include/staff/templates/user-lookup.tmpl.php index b6ef1215ee43ef270d23975c6bc401f2f8c60f78..e826e738bbf9a53fd54b31a00bf8b25032128f1f 100644 --- a/include/staff/templates/user-lookup.tmpl.php +++ b/include/staff/templates/user-lookup.tmpl.php @@ -47,7 +47,7 @@ if ($info['error']) { </div> <div id="new-user-form" style="display:<?php echo $user ? 'none' :'block'; ?>;"> <form method="post" class="user" action="<?php echo $info['action'] ? $info['action'] : '#users/lookup/form'; ?>"> - <table width="100%"> + <table width="100%" class="fixed"> <?php if(!$form) $form = UserForm::getInstance(); $form->render(true, 'Create New User'); ?> diff --git a/scp/css/scp.css b/scp/css/scp.css index 110f3e8f8afb429adbe444fcc469fa9fa6a6fb75..ea1a1dddeec181a5c63271437c39f00925068394 100644 --- a/scp/css/scp.css +++ b/scp/css/scp.css @@ -546,15 +546,15 @@ a.print { border-bottom:1px solid #ddd; } -.form_table.fixed { +table.fixed { table-layout: fixed; border-collapse: collapse; width: 100%; } -.form_table.fixed td { +table.fixed td { width: 180px; } -.form_table.fixed td + td { +table.fixed td + td { width: auto; }