From 793c0e1fa6ecddb60885f17d5e34f8adf9b1a87c Mon Sep 17 00:00:00 2001 From: Quentin Date: Wed, 26 Feb 2025 23:03:23 +0100 Subject: [PATCH] Align sidebar gears to the right (#33721) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently, the issue/pr sidebar is hard to read visually. One of the reason is that the gear icons make reading difficult because they are "in the way" when reading, and not aligned together. This PR proposes to align them on the right. Actions are also better highlighted this way. ## Screenshots ### Issue | Before this PR | After this PR | | --- | --- | | Capture d’écran 2025-02-25 à 19 59 39 | Capture d’écran 2025-02-25 à 19 58 56 | ### Pull Request | Before this PR | After this PR | | --- | --- | | Capture d’écran 2025-02-25 à 20 16 12 | Capture d’écran 2025-02-25 à 20 15 54 | Signed-off-by: Quentin Guidée Co-authored-by: Giteabot --- templates/repo/issue/sidebar/assignee_list.tmpl | 2 +- templates/repo/issue/sidebar/label_list.tmpl | 2 +- templates/repo/issue/sidebar/milestone_list.tmpl | 2 +- templates/repo/issue/sidebar/project_list.tmpl | 2 +- templates/repo/issue/sidebar/reviewer_list.tmpl | 2 +- .../repo/issue/sidebar/stopwatch_timetracker.tmpl | 8 +++++--- web_src/css/base.css | 10 ++++++++++ 7 files changed, 20 insertions(+), 8 deletions(-) diff --git a/templates/repo/issue/sidebar/assignee_list.tmpl b/templates/repo/issue/sidebar/assignee_list.tmpl index f124c3f1ce..19927cbd41 100644 --- a/templates/repo/issue/sidebar/assignee_list.tmpl +++ b/templates/repo/issue/sidebar/assignee_list.tmpl @@ -6,7 +6,7 @@ {{if $pageMeta.Issue}}data-update-url="{{$pageMeta.RepoLink}}/issues/assignee?issue_ids={{$pageMeta.Issue.ID}}"{{end}} > -