aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorThorsten Ortlepp <post@ortlepp.eu>2024-11-07 22:52:48 +0100
committerThorsten Ortlepp <post@ortlepp.eu>2024-11-07 23:02:15 +0100
commitb5bbc59189f81ad0e2e764786866057e81ecea78 (patch)
treef02adfef2373e0b1d37335a8ae06f14e615cdab2 /static
parentfbf0764d5c9bf3b967fc36f4d2bb70030ebdc5a9 (diff)
downloadgit-arr-fork-b5bbc59189f81ad0e2e764786866057e81ecea78.zip
Added CSS improvement from upstream project
Diffstat (limited to 'static')
-rw-r--r--static/git-arr.css9
1 files changed, 9 insertions, 0 deletions
diff --git a/static/git-arr.css b/static/git-arr.css
index 03e7c06..57a415b 100644
--- a/static/git-arr.css
+++ b/static/git-arr.css
@@ -159,6 +159,15 @@ table.projects td.name a {
}
+/* Truncate long descriptions based on the viewport width. */
+table.projects td.desc {
+ max-width: 50vw;
+ text-overflow: ellipsis;
+ overflow: hidden;
+ white-space: nowrap;
+}
+
+
/* Age of an object.
* Note this is hidden by default as we rely on javascript to show it. */
span.age {