Skip to content
Snippets Groups Projects
Commit 78712b50 authored by Jared Hancock's avatar Jared Hancock
Browse files

Fix creeping widget sizing on user create

parent e641cbb8
Branches
Tags
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="#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.
Please register or to comment