forgejo/web_src/js
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
..
components Update JS dependencies and eslint config (#21388) 2022-10-10 20:02:20 +08:00
features Improve code comment review on mobile (#21461) 2022-10-25 19:11:49 +08:00
markup Fix mermaid-related bugs (#21431) 2022-10-15 18:04:00 -04:00
modules
standalone
test Switch from jest to vitest (#21444) 2022-10-14 21:36:16 +08:00
bootstrap.js Fix mermaid-related bugs (#21431) 2022-10-15 18:04:00 -04:00
index.js Add system setting table with cache and also add cache supports for user setting (#18058) 2022-10-17 07:29:26 +08:00
jquery.js
serviceworker.js
svg.js
svg.test.js Remove vitest globals (#21505) 2022-10-19 14:50:19 +08:00
utils.js
utils.test.js Remove vitest globals (#21505) 2022-10-19 14:50:19 +08:00