githaven/templates/user
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
..
auth Add more descriptive error on forgot password page (#26848) 2023-09-01 16:15:39 +00:00
dashboard Refactor dashboard/feed.tmpl (#26956) 2023-09-07 16:23:13 +02:00
notification Enable djlint H008 and fix issues (#26869) 2023-09-01 17:32:39 +00:00
overview Enable djlint H008 and fix issues (#26869) 2023-09-01 17:32:39 +00:00
settings Improve flex list UI (#26970) 2023-09-08 13:57:18 +00:00
code.tmpl Fix inconsistent user profile layout across tabs (#25625) 2023-07-06 18:59:24 +00:00
heatmap.tmpl Remove fomantic loader module (#26670) 2023-08-25 16:03:14 +00:00
profile.tmpl Minor dashboard tweaks, fix flex-list margins (#26829) 2023-08-31 21:28:45 +00:00