diff options
author | Jason Song <i@wolfogre.com> | 2023-07-26 17:46:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-26 09:46:59 +0000 |
commit | a5e09a5595a05098e5f2ce55b5ba78fc7c5cdb77 (patch) | |
tree | 8d728da16c927a0ca9f9fa225aa38e21b2e1c116 /web_src/css | |
parent | 13359581df51a25ff9f7492419206a9b6e2edbc4 (diff) | |
download | gitea-a5e09a5595a05098e5f2ce55b5ba78fc7c5cdb77.tar.gz gitea-a5e09a5595a05098e5f2ce55b5ba78fc7c5cdb77.zip |
Fix UI regression of asciinema player (#26159)
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>
Diffstat (limited to 'web_src/css')
-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; } |