Avoid overflow in updates table

Fixes FS#40206.

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2014-05-22 16:01:16 +02:00
parent 839bff3761
commit ea25f982dc
2 changed files with 20 additions and 1 deletions

View file

@ -42,3 +42,22 @@
list-style: none; list-style: none;
padding: 0; padding: 0;
} }
#pkg-updates table {
table-layout: fixed;
width:100%;
}
#pkg-updates td.pkg-name {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
#pkg-updates td.pkg-new {
width: 16px;
}
#pkg-updates td.pkg-date {
text-align:right;
}

View file

@ -14,7 +14,7 @@
<img src="images/new.png" alt="New!" /> <img src="images/new.png" alt="New!" />
<?php endif; ?> <?php endif; ?>
</td> </td>
<td> <td class="pkg-date">
<span><?= gmdate("Y-m-d H:i", intval($row["ModifiedTS"])); ?></span> <span><?= gmdate("Y-m-d H:i", intval($row["ModifiedTS"])); ?></span>
</td> </td>
</tr> </tr>