]> source.dussan.org Git - gitea.git/commit
Improve repo button row layout (#30668) (#30839)
authorGiteabot <teabot@gitea.io>
Thu, 2 May 2024 19:38:37 +0000 (03:38 +0800)
committerGitHub <noreply@github.com>
Thu, 2 May 2024 19:38:37 +0000 (19:38 +0000)
commit41f8ef8af5607ecbc0fb19f9b2df7b8d537d7659
tree64255785c5429b08b110eef4f482d81c8473b988
parent6d83f5eddc0f394f6386e80b86a3221f6f4925ff
Improve repo button row layout (#30668) (#30839)

Backport #30668 by @silverwind

Since there is now a second `<input>` in the repo buttons, we can make a
better-looking layout with no empty space, except on mobile.

Also I fixed one bug with focus border on clone panel.

## Large

<img width="1163" alt="Screenshot 2024-04-23 at 22 25 22"
src="https://github.com/go-gitea/gitea/assets/115237/8135a572-aa67-4672-ad49-b76b06890b52">

## Medium
<img width="870" alt="Screenshot 2024-04-23 at 22 25 34"
src="https://github.com/go-gitea/gitea/assets/115237/9e93f61c-3315-4a78-8328-8cefad5b50fa">

## Mobile
<img width="416" alt="Screenshot 2024-04-23 at 22 25 52"
src="https://github.com/go-gitea/gitea/assets/115237/859e341f-807a-48e6-8bcf-31715963216c">

Co-authored-by: silverwind <me@silverwind.io>
templates/repo/clone_buttons.tmpl
templates/repo/home.tmpl
web_src/css/modules/input.css
web_src/css/repo.css