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