1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-16 07:04:25 +00:00
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>
2023-09-08 13:57:18 +00:00
..
webhook Extract common code to new template (#26933) 2023-09-06 10:11:06 +00:00
actions.tmpl Support configuration variables on Gitea Actions (#24724) 2023-06-20 22:54:15 +00:00
branches.tmpl Improve flex list UI (#26970) 2023-09-08 13:57:18 +00:00
collaboration.tmpl Improve flex list UI (#26970) 2023-09-08 13:57:18 +00:00
deploy_keys.tmpl Improve SSH Key / GPG Key / Deploy Key UI (#26949) 2023-09-07 01:13:11 +00:00
githook_edit.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
githooks.tmpl Remove polluted .ui.right (#26825) 2023-08-31 02:29:59 +00:00
layout_footer.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
layout_head.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
lfs_file_find.tmpl Fix mobile navbar and misc cleanups (#25134) 2023-06-09 09:10:51 +00:00
lfs_file.tmpl Add PDF rendering via PDFObject (#24086) 2023-05-29 12:10:00 +00:00
lfs_locks.tmpl Use template context function for avatar rendering (#26385) 2023-08-10 11:19:39 +08:00
lfs_pointers.tmpl Add tooltip to describe LFS table column and color delete LFS file button red (#26181) 2023-07-27 13:39:09 +00:00
lfs.tmpl Add tooltip to describe LFS table column and color delete LFS file button red (#26181) 2023-07-27 13:39:09 +00:00
nav.tmpl Move secrets and runners settings to actions settings (#24200) 2023-04-27 20:08:47 -04:00
navbar.tmpl Fixed incorrect locale references (#26218) 2023-07-29 21:34:22 +08:00
options.tmpl Improve flex list UI (#26970) 2023-09-08 13:57:18 +00:00
protected_branch.tmpl Use template context function for avatar rendering (#26385) 2023-08-10 11:19:39 +08:00
push_mirror_sync_modal.tmpl Allow editing push mirrors after creation (#26151) 2023-08-01 16:00:59 +00:00
runner_edit.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
secrets.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
tags.tmpl Use template context function for avatar rendering (#26385) 2023-08-10 11:19:39 +08:00