diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-03-18 02:00:17 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-17 14:00:17 -0400 |
commit | 1254fc668a8253ac4e4f7ce5193f49a02b1340ad (patch) | |
tree | 55f7bf71b79ceb39efcec991e59d5cf0fd924159 /web_src/css | |
parent | 09824025f700aae11fee77c5742e65e96d15a085 (diff) | |
download | gitea-1254fc668a8253ac4e4f7ce5193f49a02b1340ad.tar.gz gitea-1254fc668a8253ac4e4f7ce5193f49a02b1340ad.zip |
Fix review comment context menu clipped bug (#23523) (#23543)
Backport #23523, Close #23517
There is no "dropdown menu" for image/csv view, so we could only add the
"overflow-x: scroll" to the image/csv view.
Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'web_src/css')
-rw-r--r-- | web_src/css/helpers.css | 1 | ||||
-rw-r--r-- | web_src/css/repository.css | 4 |
2 files changed, 1 insertions, 4 deletions
diff --git a/web_src/css/helpers.css b/web_src/css/helpers.css index 9e974b9ea1..1c02de2d7a 100644 --- a/web_src/css/helpers.css +++ b/web_src/css/helpers.css @@ -22,6 +22,7 @@ /* below class names match Tailwind CSS */ .gt-pointer-events-none { pointer-events: none !important; } .gt-relative { position: relative !important; } +.gt-overflow-x-scroll { overflow-x: scroll !important; } .gt-mono { font-family: var(--fonts-monospace) !important; diff --git a/web_src/css/repository.css b/web_src/css/repository.css index ad2ac49b99..8e3788b804 100644 --- a/web_src/css/repository.css +++ b/web_src/css/repository.css @@ -3337,10 +3337,6 @@ td.blob-excerpt { min-width: 100px; } -.diff-file-body { - overflow-x: scroll; -} - .diff-stats-bar { display: inline-block; background-color: var(--color-red); |