From 917ca5ded9914fb09d65cecaf5a716db0fac7686 Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Fri, 7 Jul 2023 00:34:00 +0200 Subject: [PATCH] Several fixes for mobile UI (#25634) (#25689) Backport #25634 Resolves https://github.com/go-gitea/gitea/issues/25622
Screenshots ![Bildschirmfoto vom 2023-07-02 20-47-34](https://github.com/go-gitea/gitea/assets/47871822/a8a0bff6-9ae3-48f3-b008-00c196a3f8fd) ![Bildschirmfoto vom 2023-07-02 20-47-45](https://github.com/go-gitea/gitea/assets/47871822/172a0021-af74-4690-aa67-0e66688ce733) ![Bildschirmfoto vom 2023-07-02 20-48-37](https://github.com/go-gitea/gitea/assets/47871822/14572ebd-0106-4c8a-ba27-b6b631375ee6) ![Bildschirmfoto vom 2023-07-02 20-49-08](https://github.com/go-gitea/gitea/assets/47871822/7c0ba3aa-1712-482c-aae9-13394dbdaf8a) ![Bildschirmfoto vom 2023-07-02 20-50-28](https://github.com/go-gitea/gitea/assets/47871822/8bd68e26-099a-4abd-8817-16d52af13167) ![Bildschirmfoto vom 2023-07-02 20-51-46](https://github.com/go-gitea/gitea/assets/47871822/3beab8c6-3747-4829-be50-bafaed11000c) ![Bildschirmfoto vom 2023-07-02 20-54-12](https://github.com/go-gitea/gitea/assets/47871822/51f82ef3-a32c-4c27-9056-e8711ed469cc)
--------- Co-authored-by: wxiaoguang Co-authored-by: silverwind Co-authored-by: Giteabot --- templates/repo/branch/list.tmpl | 2 +- templates/repo/commits_list.tmpl | 2 +- templates/repo/commits_table.tmpl | 14 ++-- .../issue/labels/labels_selector_field.tmpl | 2 +- templates/repo/issue/new_form.tmpl | 12 ++-- .../repo/issue/view_content/sidebar.tmpl | 6 +- templates/shared/combomarkdowneditor.tmpl | 2 +- web_src/css/admin.css | 4 ++ web_src/css/editor/combomarkdowneditor.css | 2 + web_src/css/repo.css | 69 ++++++++++++------- web_src/js/components/RepoActionView.vue | 8 +-- 11 files changed, 72 insertions(+), 51 deletions(-) diff --git a/templates/repo/branch/list.tmpl b/templates/repo/branch/list.tmpl index 8617bcafaf..ad077316fe 100644 --- a/templates/repo/branch/list.tmpl +++ b/templates/repo/branch/list.tmpl @@ -25,7 +25,7 @@ {{.DefaultBranch}}

{{svg "octicon-git-commit" 16 "gt-mr-2"}}{{ShortSha .DefaultBranchBranch.Commit.ID.String}} · {{RenderCommitMessage $.Context .DefaultBranchBranch.Commit.CommitMessage .RepoLink .Repository.ComposeMetas}} · {{.locale.Tr "org.repo_updated"}} {{TimeSince .DefaultBranchBranch.Commit.Committer.When .locale}}

- + {{if and $.IsWriter (not $.Repository.IsArchived) (not .IsDeleted)}}