From c82547bf30629187e0483377d77ecea87c24886e Mon Sep 17 00:00:00 2001 From: 0ko <0ko@noreply.codeberg.org> Date: Mon, 24 Jun 2024 18:59:57 +0000 Subject: [PATCH] Size/gap changes and cleanup in commit graph (#4214) Changes: * increased font size of tag/branch labels from tiny to normal, so they're readable, it doesn't impact layout * increased font size of branch selector from tiny to small, so it's readable and usable. Branch selector on main repo tab has the same size * increased gap between the icon and the text in the selector, it is too small currently * removed obsolete CSS rule, it wasn't fully utilized in the first place, it is no longer needed with the other changes Preview: Before: https://codeberg.org/attachments/e6eccdde-59fe-446c-99ed-d8a2f1dce9bd First: https://codeberg.org/attachments/6d710118-18cb-4258-9d9a-79dfca377294 Last: https://codeberg.org/attachments/fc9517aa-d498-43cc-a186-a184e4c6fe8c Before: https://codeberg.org/attachments/057f971b-2c3b-4500-923f-49f4e545daf6 First: https://codeberg.org/attachments/de4683ad-95da-48d5-b2ac-b9567fed6fcd Last: https://codeberg.org/attachments/2abb0333-dea1-4123-b3ee-9cb54dca98cd Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4214 Reviewed-by: Earl Warren --- templates/repo/graph.tmpl | 22 +++++++++++----------- templates/repo/graph/commits.tmpl | 8 ++++---- web_src/css/features/gitgraph.css | 9 --------- 3 files changed, 15 insertions(+), 24 deletions(-) diff --git a/templates/repo/graph.tmpl b/templates/repo/graph.tmpl index 93cb5903cf..6e7b6cb2b5 100644 --- a/templates/repo/graph.tmpl +++ b/templates/repo/graph.tmpl @@ -5,40 +5,40 @@

{{ctx.Locale.Tr "repo.commit_graph"}} -
+