forked from gitea/gitea
1
0
Fork 0
gitea/templates/repo/pulls
zeripath 265d438a6e
fix: PR status layout on mobile (#21547) (#22441)
Backport #21547

This PR fixes the layout of PR status layouts on mobile. For longer
status context names or on very small screens the text would overflow
and push the "Details" and "Required" badges out of the container.

Before:

![Screen Shot 2022-10-22 at 12 27

46](https://user-images.githubusercontent.com/13721712/197335454-e4decf09-4778-43e8-be88-9188fabbec23.png)

After:

![Screen Shot 2022-10-22 at 12 53

24](https://user-images.githubusercontent.com/13721712/197335449-2c731a6c-7fd6-4b97-be0e-704a99fd3d32.png)

Co-authored-by: kolaente <k@knt.li>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-01-14 16:56:44 +08:00
..
commits.tmpl Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
files.tmpl Revert increased width on pull pages (#21470) 2022-10-19 15:48:29 +01:00
fork.tmpl Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
status.tmpl fix: PR status layout on mobile (#21547) (#22441) 2023-01-14 16:56:44 +08:00
tab_menu.tmpl Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00