You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/templates/repo/settings
wxiaoguang ffa4949eaa
Improve flex list UI (#26970)
1. There is already `gt-ac`, so no need to introduce `flex-item-center`
2. The `flex-item-baseline` and `.flex-item-icon svg { margin-top: 1px
}` seem to be a tricky patch, they don't resolve the root problem, and
still cause misalignment in some cases.
* The root problem is: the "icon" needs to align with the sibling
"title"
    * So, make the "icon" and the "title" both have the same height 
3. `flex-text-inline` could only be used if the element is really
"inline", otherwise its `vertical-align` would make the box size change.
In most cases, `flex-text-block` is good enough.


![image](https://github.com/go-gitea/gitea/assets/2114189/1b7acfc2-b1c7-4e9c-a983-2fa932026479)

---------

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io>
1 year ago
..
webhook Extract common code to new template (#26933) 1 year ago
actions.tmpl Support configuration variables on Gitea Actions (#24724) 2 years ago
branches.tmpl Improve flex list UI (#26970) 1 year ago
collaboration.tmpl Improve flex list UI (#26970) 1 year ago
deploy_keys.tmpl Improve SSH Key / GPG Key / Deploy Key UI (#26949) 1 year ago
githook_edit.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2 years ago
githooks.tmpl Remove polluted `.ui.right` (#26825) 1 year ago
layout_footer.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2 years ago
layout_head.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2 years ago
lfs.tmpl Add tooltip to describe LFS table column and color `delete LFS file` button red (#26181) 2 years ago
lfs_file.tmpl Add PDF rendering via PDFObject (#24086) 2 years ago
lfs_file_find.tmpl Fix mobile navbar and misc cleanups (#25134) 2 years ago
lfs_locks.tmpl Use template context function for avatar rendering (#26385) 2 years ago
lfs_pointers.tmpl Add tooltip to describe LFS table column and color `delete LFS file` button red (#26181) 2 years ago
nav.tmpl Move secrets and runners settings to actions settings (#24200) 2 years ago
navbar.tmpl Fixed incorrect locale references (#26218) 2 years ago
options.tmpl Improve flex list UI (#26970) 1 year ago
protected_branch.tmpl Use template context function for avatar rendering (#26385) 2 years ago
push_mirror_sync_modal.tmpl Allow editing push mirrors after creation (#26151) 2 years ago
runner_edit.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2 years ago
secrets.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2 years ago
tags.tmpl Use template context function for avatar rendering (#26385) 2 years ago