forgejo/templates/repo/diff
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
..
blob_excerpt.tmpl Make sure fmt catches all templates (#20979) 2022-08-31 23:58:54 +08:00
box.tmpl Diff file tree tweaks (#21446) 2022-10-14 17:43:25 +08:00
comment_form.tmpl Fix the quick-submit for pending review comment (#20992) 2022-09-02 22:59:10 +01:00
comment_form_datahandler.tmpl Make sure fmt catches all templates (#20979) 2022-08-31 23:58:54 +08:00
comments.tmpl Do not add links to Posters or Assignees with ID < 0 (#20577) 2022-09-03 10:33:34 +01:00
compare.tmpl Revert increased width on pull pages (#21470) 2022-10-19 15:48:29 +01:00
conversation.tmpl Improve code comment review on mobile (#21461) 2022-10-25 19:11:49 +08:00
csv_diff.tmpl Fix CSV diff for added/deleted files (#21189) 2022-09-17 10:45:32 +08:00
escape_title.tmpl Switch Unicode Escaping to a VSCode-like system (#19990) 2022-08-13 19:32:34 +01:00
image_diff.tmpl Make sure fmt catches all templates (#20979) 2022-08-31 23:58:54 +08:00
new_comment.tmpl Do not reload page after adding comments in Pull Request reviews (#13877) 2021-01-08 23:49:55 +02:00
new_review.tmpl Make sure fmt catches all templates (#20979) 2022-08-31 23:58:54 +08:00
options_dropdown.tmpl Add filetree on left of diff view (#21012) 2022-09-27 13:22:19 +08:00
section_code.tmpl Switch Unicode Escaping to a VSCode-like system (#19990) 2022-08-13 19:32:34 +01:00
section_split.tmpl Improve code comment review on mobile (#21461) 2022-10-25 19:11:49 +08:00
section_unified.tmpl Improve code comment review on mobile (#21461) 2022-10-25 19:11:49 +08:00
stats.tmpl Replace fomantic popup module with tippy.js (#20428) 2022-08-09 14:37:34 +02:00
whitespace_dropdown.tmpl Use native inputs in whitespace dropdown (#20980) 2022-09-25 22:01:05 +08:00