You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
2 years ago
..
chroma Replace Less with CSS (#23508) 2 years ago
code Fix some broken css (#23560) (#23567) 2 years ago
codemirror Replace Less with CSS (#23508) 2 years ago
console Replace Less with CSS (#23508) 2 years ago
features Replace Less with CSS (#23508) 2 years ago
markup Replace Less with CSS (#23508) 2 years ago
modules Replace Less with CSS (#23508) 2 years ago
shared Replace Less with CSS (#23508) 2 years ago
standalone Replace Less with CSS (#23508) 2 years ago
themes CSS color tweaks (#23828) (#23842) 2 years ago
admin.css Replace Less with CSS (#23508) 2 years ago
animations.css Replace Less with CSS (#23508) 2 years ago
base.css CSS color tweaks (#23828) (#23842) 2 years ago
dashboard.css Replace Less with CSS (#23508) 2 years ago
editor.css Replace Less with CSS (#23508) 2 years ago
explore.css Replace Less with CSS (#23508) 2 years ago
font_i18n.css Replace Less with CSS (#23508) 2 years ago
form.css CSS color tweaks (#23828) (#23842) 2 years ago
helpers.css Fix review comment context menu clipped bug (#23523) (#23543) 2 years ago
home.css Replace Less with CSS (#23508) 2 years ago
index.css Replace Less with CSS (#23508) 2 years ago
install.css Replace Less with CSS (#23508) 2 years ago
organization.css Replace Less with CSS (#23508) 2 years ago
package.css Replace Less with CSS (#23508) 2 years ago
repository.css Fix diff tree height and adjust target file style (#23616) 2 years ago
review.css Fix review box viewport overflow issue (#23800) (#23898) 2 years ago
runner.css Replace Less with CSS (#23508) 2 years ago
svg.css Replace Less with CSS (#23508) 2 years ago
tribute.css Replace Less with CSS (#23508) 2 years ago
user.css Remove row clicking from notification table (#22695) (#23706) 2 years ago