]> source.dussan.org Git - gitea.git/commit
Fix rerun icon on action view component (#25531) (#25536)
authorGiteabot <teabot@gitea.io>
Tue, 27 Jun 2023 16:28:14 +0000 (12:28 -0400)
committerGitHub <noreply@github.com>
Tue, 27 Jun 2023 16:28:14 +0000 (12:28 -0400)
commit345a25d016c3ed839b90de92f2b5dbc49643bb28
treee1fb26a61f92d1edcad65d8ca8934fed37d8cc0e
parente8a7cd4a1d2ee2695ebf6566ada377040681cc5d
Fix rerun icon on action view component (#25531) (#25536)

Backport #25531 by @HesterG

Right now rerun icon on action view component will not be seen when
duration text length is long, because the wrapper `job-brief-info` has a
fixed width, and the svg is squeezed. The way to fix this in this PR is
to change width to `fit-content` and exchange position of duration text
and rerun svg.

Before (rerun svg not shown on hover):

<img width="1401" alt="Screen Shot 2023-06-27 at 12 53 41"
src="https://github.com/go-gitea/gitea/assets/17645053/bb3f62ec-8c56-4dbc-96f1-718b50426d91">

After:

<img width="1409" alt="Screen Shot 2023-06-27 at 12 50 59"
src="https://github.com/go-gitea/gitea/assets/17645053/620aa02c-2326-408d-a763-453f48f42c40">

Co-authored-by: HesterG <hestergong@gmail.com>
web_src/js/components/RepoActionView.vue