From e522e774cae2240279fc48c349fc513c9d3353ee Mon Sep 17 00:00:00 2001 From: Kyle D Date: Fri, 5 Jan 2024 09:38:56 -0800 Subject: [PATCH] Add merge arrow direction and update styling (#28523) Close https://github.com/go-gitea/gitea/issues/28522 ~Adds some [negative margin](https://tailwindcss.com/docs/margin#using-negative-values) helper css classes using tailwind's [prefix syntax](https://tailwindcss.com/docs/configuration#prefix)~ ### Before ![image](https://github.com/go-gitea/gitea/assets/12700993/5bdabf91-facd-41c8-8e36-e1535beb9409) ### After ![image](https://github.com/go-gitea/gitea/assets/12700993/a6f11f6f-9e64-45b6-b9d7-dfea53fbc6d7) --- templates/repo/diff/compare.tmpl | 4 ++-- web_src/css/repo.css | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/templates/repo/diff/compare.tmpl b/templates/repo/diff/compare.tmpl index 0e8a598a65..42a7bf3c2a 100644 --- a/templates/repo/diff/compare.tmpl +++ b/templates/repo/diff/compare.tmpl @@ -36,7 +36,7 @@ {{- end -}} {{- end -}}
- {{svg "octicon-git-compare"}} + {{svg "octicon-git-compare"}}
- {{.CompareSeparator}} + {{svg "octicon-arrow-left" 16}}
{{.CompareSeparator}}