Skip to content
Snippets Groups Projects
Commit f2a2cdac authored by Peter Rotich's avatar Peter Rotich
Browse files

Merge pull request #648 from greezybacon/issue/180


Fix creeping widget sizing on user create

Reviewed-By: default avatarPeter Rotich <peter@osticket.com>
parents cd66fc2f 1e26cef2
No related branches found
No related tags found
No related merge requests found
<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>:
......
......@@ -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'); ?>
......
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment