diff options
author | Giteabot <teabot@gitea.io> | 2023-07-26 18:34:55 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-26 12:34:55 +0200 |
commit | 65d6bdf0be70545fd151f326160124e5e5575353 (patch) | |
tree | d6daa8a9ea43c53b8bf0c0b1332503477487e245 /web_src | |
parent | c598741f01f9ccf32d0c4bdd905f4dc58f7af806 (diff) | |
download | gitea-65d6bdf0be70545fd151f326160124e5e5575353.tar.gz gitea-65d6bdf0be70545fd151f326160124e5e5575353.zip |
Fix UI regression of asciinema player (#26159) (#26162)
Backport #26159 by @wolfogre
It was caused by updating `asciinema-player`, the upstream changed the
CSS class prefix:
`https://github.com/asciinema/asciinema-player/commit/40505e479e8ba6833f178a3b7e85503c72491614`
<details>
<summary>Before:</summary>
<img width="1320" alt="image"
src="https://github.com/go-gitea/gitea/assets/9418365/b91a2cf5-c1da-43d6-bac2-bc278728b11e">
</details>
<details>
<summary>After:</summary>
<img width="1311" alt="image"
src="https://github.com/go-gitea/gitea/assets/9418365/c9872d25-e0bb-43d4-8b1e-d87c6b03c0a2">
</details>
Co-authored-by: Jason Song <i@wolfogre.com>
Diffstat (limited to 'web_src')
-rw-r--r-- | web_src/css/markup/asciicast.css | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/css/markup/asciicast.css b/web_src/css/markup/asciicast.css index a52b2ae12e..89696bc710 100644 --- a/web_src/css/markup/asciicast.css +++ b/web_src/css/markup/asciicast.css @@ -3,6 +3,6 @@ height: auto; } -.asciinema-terminal { +.ap-terminal { overflow: hidden !important; } |