summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--web/html/css/aur.css4
-rw-r--r--web/template/stats/general_stats_table.php16
2 files changed, 12 insertions, 8 deletions
diff --git a/web/html/css/aur.css b/web/html/css/aur.css
index dada258a..bae8e217 100644
--- a/web/html/css/aur.css
+++ b/web/html/css/aur.css
@@ -10,3 +10,7 @@
#pkg-updates td.pkg-new {
padding: 0 .5em;
}
+
+#pkg-stats td.stat-desc {
+ white-space: normal;
+}
diff --git a/web/template/stats/general_stats_table.php b/web/template/stats/general_stats_table.php
index 6a92c3b8..5b598321 100644
--- a/web/template/stats/general_stats_table.php
+++ b/web/template/stats/general_stats_table.php
@@ -2,35 +2,35 @@
<table>
<tr>
- <td><?= __("Packages"); ?></td>
+ <td class="stat-desc"><?= __("Packages"); ?></td>
<td><?= $unsupported_count; ?></td>
</tr>
<tr>
- <td><?= __("Orphan Packages"); ?></td>
+ <td class="stat-desc"><?= __("Orphan Packages"); ?></td>
<td><?= $orphan_count; ?></td>
</tr>
<tr>
- <td><?= __("Packages added in the past 7 days"); ?></td>
+ <td class="stat-desc"><?= __("Packages added in the past 7 days"); ?></td>
<td><?= $add_count; ?></td>
</tr>
<tr>
- <td><?= __("Packages updated in the past 7 days"); ?></td>
+ <td class="stat-desc"><?= __("Packages updated in the past 7 days"); ?></td>
<td><?= $update_count; ?></td>
</tr>
<tr>
- <td><?= __("Packages updated in the past year"); ?></td>
+ <td class="stat-desc"><?= __("Packages updated in the past year"); ?></td>
<td><?= $update_year_count; ?></td>
</tr>
<tr>
- <td><?= __("Packages never updated"); ?></td>
+ <td class="stat-desc"><?= __("Packages never updated"); ?></td>
<td><?= $never_update_count; ?></td>
</tr>
<tr>
- <td><?= __("Registered Users"); ?></td>
+ <td class="stat-desc"><?= __("Registered Users"); ?></td>
<td><?= $user_count; ?></td>
</tr>
<tr>
- <td><?= __("Trusted Users"); ?></td>
+ <td class="stat-desc"><?= __("Trusted Users"); ?></td>
<td><?= $tu_count; ?></td>
</tr>
</table>