gitea/web_src
Giteabot 847f0bb9f3
Fix review box viewport overflow issue (#23800) (#23898)
Backport #23800 by @silverwind

Fix regression that came likely from
https://github.com/go-gitea/gitea/pull/23271:

Long lines of text currently cause the review box's CodeMirror element
to resize which apparently is not recognized by [popper's resize
detection](https://popper.js.org/docs/v2/modifiers/event-listeners/) and
which causes the element to go partially out of viewport until a reflow
happens:


![wrap](https://user-images.githubusercontent.com/115237/228673260-f8ffe89e-5724-4fb9-b93f-30b146c4c436.gif)

Fix this by setting the element to a static width derived from viewport
width and remove the previously clumsy media queries.

Co-authored-by: silverwind <me@silverwind.io>
2023-04-03 12:11:08 -04:00
..
css Fix review box viewport overflow issue (#23800) (#23898) 2023-04-03 12:11:08 -04:00
fomantic Fix Fomantic UI's `touchstart` fastclick, always use `click` for click events (#23065) (#23195) 2023-02-28 17:53:45 -05:00
js Remove assertion debug code for show/hide refactoring (#23576) (#23868) 2023-04-02 16:20:06 +08:00
less Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
svg Add Chef package registry (#22554) 2023-02-06 09:49:21 +08:00