0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-05 21:29:23 -05:00
forgejo/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
code Fix some broken css (#23560) (#23567) 2023-03-18 21:37:16 -04:00
codemirror
console
features
markup
modules
shared
standalone
themes CSS color tweaks (#23828) (#23842) 2023-03-31 17:24:09 +08:00
admin.css
animations.css
base.css CSS color tweaks (#23828) (#23842) 2023-03-31 17:24:09 +08:00
dashboard.css
editor.css
explore.css
font_i18n.css
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
index.css
install.css
organization.css
package.css
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
svg.css
tribute.css
user.css Remove row clicking from notification table (#22695) (#23706) 2023-03-26 01:21:40 +02:00