forgejo/templates
wxiaoguang c46f53a627
Fix diff UI for unexpandable items (#22700)
Follows #21094

Before:

There are 2 problems:

1. Sometimes, the header starts with a number, sometimes, it starts with
an icon button. It makes the UI look like misaligned.
2. The second item's bottom border is too thick (actually, that's an
empty element with border, which should be hidden as well)
3. (An old problem) the number is not mono-font


![image](https://user-images.githubusercontent.com/2114189/215935944-003fe2d3-69bf-413c-bbae-0a4668a508c3.png)


After:

Fix above problems.


![image](https://user-images.githubusercontent.com/2114189/215944811-b867a20c-110c-47a2-aa52-572a8162a44d.png)

---------

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
2023-02-02 13:39:55 +08:00
..
admin Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00
api/packages/pypi Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
base Improve accessibility of navigation bar and footer (#22635) 2023-01-29 09:29:10 +08:00
code Run make fmt (#21437) 2022-10-13 21:33:54 -04:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
explore Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00
mail Add reply hint to mail text (#22459) 2023-01-16 14:58:01 -06:00
org Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00
package Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00
projects Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00
repo Fix diff UI for unexpandable items (#22700) 2023-02-02 13:39:55 +08:00
shared Add user secrets (#22191) 2023-02-01 20:53:04 +08:00
status Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00
swagger Add Conda package registry (#22262) 2023-02-01 12:30:39 -06:00
user Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00
home.tmpl Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00
install.tmpl Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00
post-install.tmpl Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00