gitea/web_src/css
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
..
chroma Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
code Fix some broken css (#23560) (#23567) 2023-03-18 21:37:16 -04:00
codemirror Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
console Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
features Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
markup Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
modules Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
shared Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
standalone Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
themes CSS color tweaks (#23828) (#23842) 2023-03-31 17:24:09 +08:00
admin.css Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
animations.css Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
base.css CSS color tweaks (#23828) (#23842) 2023-03-31 17:24:09 +08:00
dashboard.css Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
editor.css Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
explore.css Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
font_i18n.css Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
form.css CSS color tweaks (#23828) (#23842) 2023-03-31 17:24:09 +08:00
helpers.css Fix review comment context menu clipped bug (#23523) (#23543) 2023-03-17 14:00:17 -04:00
home.css Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
index.css Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
install.css Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
organization.css Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
package.css Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
repository.css Fix diff tree height and adjust target file style (#23616) 2023-03-22 15:32:27 -05:00
review.css Fix review box viewport overflow issue (#23800) (#23898) 2023-04-03 12:11:08 -04:00
runner.css Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
svg.css Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
tribute.css Replace Less with CSS (#23508) 2023-03-16 21:04:39 -04:00
user.css Remove row clicking from notification table (#22695) (#23706) 2023-03-26 01:21:40 +02:00