From b5bbc59189f81ad0e2e764786866057e81ecea78 Mon Sep 17 00:00:00 2001 From: Thorsten Ortlepp Date: Thu, 7 Nov 2024 22:52:48 +0100 Subject: Added CSS improvement from upstream project --- static/git-arr.css | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'static/git-arr.css') 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 { -- cgit v1.2.3