jojo/templates/repo/diff
0ko 1000a0da3a chore(ui): cleanup reviews css, improve consistency (#10268)
* show/hide resolved: got rid of classes `ui labeled button` - ignoring them overriding each other, they were contributing three useful CSS properties in total:
  ```css
  padding: 0;
  background: none;
  font-weight: 500;
  ```
  and were also contributing an undesired margin:
  ![](/attachments/4774be16-2989-4b69-bcdb-86e1acae2a85)
* also fixed inconsistent font size between two views
* additionally got rid of verbose fomantic classes since there was already a rule that could accept their properties
* got rid of unused class `add-code-comment-right`
* added testing for the hide/show/resolve/unresolved buttons, but not related to CSS, just thought it might be useful

<!--start release-notes-assistant-->

## Release notes
<!--URL:https://codeberg.org/forgejo/forgejo-->
- User Interface changes without a feature or bug label
  - [PR](https://codeberg.org/forgejo/forgejo/pulls/10268): <!--number 10268 --><!--line 0 --><!--description Y2hvcmUodWkpOiBjbGVhbnVwIHJldmlld3MgY3NzLCBpbXByb3ZlIGNvbnNpc3RlbmN5-->chore(ui): cleanup reviews css, improve consistency<!--description-->
<!--end release-notes-assistant-->

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/10268
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Reviewed-by: Otto <otto@codeberg.org>
Co-authored-by: 0ko <0ko@noreply.codeberg.org>
Co-committed-by: 0ko <0ko@noreply.codeberg.org>
2025-12-01 01:30:25 +01:00
..
blob_excerpt.tmpl Fix the wrong line number in the diff view page when expanded twice. (#31431) 2024-06-23 12:48:08 +02:00
box.tmpl Implement single-commit PR review flow (#7155) 2025-06-17 09:31:50 +02:00
comment_form.tmpl feat: replace cross origin protection (#9830) 2025-10-29 22:43:22 +01:00
comment_form_datahandler.tmpl Make sure fmt catches all templates (#20979) 2022-08-31 23:58:54 +08:00
comments.tmpl ui: update styling of comment headers and role labels (#6816) 2025-02-07 01:07:16 +00:00
compare.tmpl fix(ui): compare branches even with pull requests disabled (#8496) 2025-08-03 06:19:45 +02:00
conversation.tmpl chore(ui): cleanup reviews css, improve consistency (#10268) 2025-12-01 01:30:25 +01:00
conversations.tmpl [BUG] split code conversations in diff tab (#2306) 2024-02-16 12:16:11 +00:00
csv_diff.tmpl Fix CSV diff for added/deleted files (#21189) 2022-09-17 10:45:32 +08:00
escape_title.tmpl cleanup locale function usage (#27227) 2023-09-24 20:31:58 +00:00
image_diff.tmpl Added alt's to <img> 2025-01-31 21:22:00 +00: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 feat: replace cross origin protection (#9830) 2025-10-29 22:43:22 +01:00
options_dropdown.tmpl Remove DiffFileList component 2025-01-19 18:56:18 +01:00
section_code.tmpl Add template linting via djlint (#25212) 2023-06-14 18:17:58 +00:00
section_split.tmpl chore(ui): cleanup reviews css, improve consistency (#10268) 2025-12-01 01:30:25 +01:00
section_unified.tmpl Fix incorrect "blob excerpt" link when comparing files (#31013) 2024-05-24 10:08:24 +02:00
stats.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
whitespace_dropdown.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00