0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 23:33:15 -05:00
forgejo/web_src/css
silverwind d0c406a86f
Fix review box viewport overflow issue (#23800)
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.
2023-04-03 11:11:34 -04:00
..
chroma
code Fix some broken css (#23560) 2023-03-18 17:53:12 -04:00
codemirror
console
features Set opaque background on markup and images (#23578) 2023-03-21 17:38:04 -04:00
markup Set opaque background on markup and images (#23578) 2023-03-21 17:38:04 -04:00
modules
shared Convert issue list checkboxes to native (#23596) 2023-03-30 11:02:47 -04:00
standalone
themes CSS color tweaks (#23828) 2023-03-31 16:24:47 +08:00
admin.css
animations.css
base.css CSS color tweaks (#23828) 2023-03-31 16:24:47 +08:00
dashboard.css
editor-markdown.css Introduce GitHub markdown editor, keep EasyMDE as fallback (#23876) 2023-04-03 18:06:57 +08:00
editor.css Introduce GitHub markdown editor, keep EasyMDE as fallback (#23876) 2023-04-03 18:06:57 +08:00
explore.css Fix long name ui issues and label ui issue (#23541) 2023-03-18 17:07:59 +01:00
font_i18n.css
form.css CSS color tweaks (#23828) 2023-03-31 16:24:47 +08:00
helpers.css Convert issue list checkboxes to native (#23596) 2023-03-30 11:02:47 -04:00
home.css
index.css Introduce GitHub markdown editor, keep EasyMDE as fallback (#23876) 2023-04-03 18:06:57 +08:00
install.css
organization.css
package.css
repository.css Introduce GitHub markdown editor, keep EasyMDE as fallback (#23876) 2023-04-03 18:06:57 +08:00
review.css Fix review box viewport overflow issue (#23800) 2023-04-03 11:11:34 -04:00
runner.css
svg.css
tribute.css
user.css Remove row clicking from notification table (#22695) 2023-03-25 14:37:34 -05:00