diff options
author | silverwind <me@silverwind.io> | 2021-11-23 03:44:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-22 21:44:38 -0500 |
commit | 9450410ff71db5c6076fbe72e4b47fc9798b8d14 (patch) | |
tree | c0f228a4f2da8a322416348ea1a307b7590546d6 /templates/repo/commits_list.tmpl | |
parent | e595986458e24ff0e490d79bd7569672a563f1cd (diff) | |
download | gitea-9450410ff71db5c6076fbe72e4b47fc9798b8d14.tar.gz gitea-9450410ff71db5c6076fbe72e4b47fc9798b8d14.zip |
Improve ellipsis buttons (#17773)
* Improve ellipsis buttons
- Remove icon font usage
- Add aria-expanded attribute
* rename function to match
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'templates/repo/commits_list.tmpl')
-rw-r--r-- | templates/repo/commits_list.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/commits_list.tmpl b/templates/repo/commits_list.tmpl index e270a99972..ad2e825e23 100644 --- a/templates/repo/commits_list.tmpl +++ b/templates/repo/commits_list.tmpl @@ -67,7 +67,7 @@ {{end}} </span> {{if IsMultilineCommitMessage .Message}} - <button class="basic compact mini ui icon button commit-button"><i class="ellipsis horizontal icon"></i></button> + <button class="ui button ellipsis-button" aria-expanded="false">...</button> {{end}} {{template "repo/commit_statuses" dict "Status" .Status "Statuses" .Statuses "root" $}} {{if IsMultilineCommitMessage .Message}} |