From 00dbba7f4266032a2b91b760e7c611950ffad096 Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Tue, 4 Jul 2023 19:45:45 +0200 Subject: [PATCH] Several fixes for mobile UI (#25634) Resolves #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 --- 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 | 56 ++++++++++++++----- web_src/js/components/RepoActionView.vue | 8 +-- 11 files changed, 71 insertions(+), 39 deletions(-) diff --git a/templates/repo/branch/list.tmpl b/templates/repo/branch/list.tmpl index 298d854381466..d7ea299fd1261 100644 --- a/templates/repo/branch/list.tmpl +++ b/templates/repo/branch/list.tmpl @@ -29,7 +29,7 @@

{{svg "octicon-git-commit" 16 "gt-mr-2"}}{{ShortSha .DefaultBranchBranch.DBBranch.CommitID}} · {{RenderCommitMessage $.Context .DefaultBranchBranch.DBBranch.CommitMessage .RepoLink .Repository.ComposeMetas}} · {{.locale.Tr "org.repo_updated"}} {{TimeSince .DefaultBranchBranch.DBBranch.CommitTime.AsTime .locale}}{{if .DefaultBranchBranch.DBBranch.Pusher}}  {{template "shared/user/avatarlink" dict "Context" $.Context "user" .DefaultBranchBranch.DBBranch.Pusher}}{{template "shared/user/namelink" .DefaultBranchBranch.DBBranch.Pusher}}{{end}}

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