gitea/templates
Gusted 29c00eb1ed
Improve code comment review on mobile (#21461)
- Fix placement of avatar image, this was not placed in the
`comment-header-left` and add CSS to cover the limiting of width+height
of avatar for code-review comment on "Files changed" page. This fixes
the big noticeable avatar issue.
- Apply `margin-bottom` to the "next" button, so it's consistent with
the "previous" button.
- Make sure the "next"/"previous" start at `flex-start` on mobile and
not off-screen at `flex-end`. As well force them to have `flex: 1` so
they won't overflow on x-asis. This also requires the `width: 100%` for
the `.ui.buttons` div.
- Resolves #20074


### Before
<details><img width="512"
src="https://user-images.githubusercontent.com/25481501/195952930-09560cad-419f-43a3-a8a4-a4166c117994.jpg"></details>

### After
<details><img width="512"
src="https://user-images.githubusercontent.com/25481501/197340081-0365dfa8-4344-46b4-8702-a40c778c073f.jpg"></details>

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
2022-10-25 19:11:49 +08:00
..
admin Allow package version sorting (#21453) 2022-10-23 09:18:15 +08:00
api/packages/pypi Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
base Remove useless appVer from JS window.config (#21445) 2022-10-14 01:16:27 +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 Localize all timestamps (#21440) 2022-10-17 12:08:21 +08:00
mail Add team member invite by email (#20307) 2022-10-19 14:40:28 +02:00
org Add team member invite by email (#20307) 2022-10-19 14:40:28 +02:00
package Allow package version sorting (#21453) 2022-10-23 09:18:15 +08:00
repo Improve code comment review on mobile (#21461) 2022-10-25 19:11:49 +08:00
shared Localize all timestamps (#21440) 2022-10-17 12:08:21 +08:00
status Remove fomantic image module (#21145) 2022-09-12 17:08:46 +08:00
swagger Record OAuth client type at registration (#21316) 2022-10-24 15:59:24 +08:00
user Added missing headers on user packages page (#21172) 2022-10-24 20:01:05 +08:00
home.tmpl Refactor i18n to locale (#20153) 2022-06-27 15:58:46 -05:00
install.tmpl Rework mailer settings (#18982) 2022-08-02 13:24:18 +08:00
post-install.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00