mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Avoid overflow in updates table
Fixes FS#40206. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
839bff3761
commit
ea25f982dc
2 changed files with 20 additions and 1 deletions
|
@ -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;
|
||||||
|
}
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Add table
Reference in a new issue