From ef6debfc0263a87ce9d4ba721bf3e1d6daeac420 Mon Sep 17 00:00:00 2001 From: Luis Date: Tue, 6 Jan 2026 20:03:58 +0100 Subject: [PATCH] fix(ui): actions list layout breakage with long content (#10648) Fixes the layout of the actions list specifically when an action name is too long to be displayed within the column's constrained width. I took the opportunity to add some ancillary improvements: - Center elements vertically - Space elements consistently: the error badge didn't have the same margin on the left like the disabled badge. Fixes #4580 Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/10648 Reviewed-by: 0ko <0ko@noreply.codeberg.org> Reviewed-by: Beowulf Co-authored-by: Luis Co-committed-by: Luis --- templates/repo/actions/list_inner.tmpl | 10 +++++++--- web_src/css/actions.css | 23 ++++++++++++++++++++++- 2 files changed, 29 insertions(+), 4 deletions(-) diff --git a/templates/repo/actions/list_inner.tmpl b/templates/repo/actions/list_inner.tmpl index 207ca41c59..dce5e16e7b 100644 --- a/templates/repo/actions/list_inner.tmpl +++ b/templates/repo/actions/list_inner.tmpl @@ -1,12 +1,16 @@ {{if .HasWorkflowsOrRuns}}