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:
`40505e479e`

<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>
(cherry picked from commit 65d6bdf0be70545fd151f326160124e5e5575353)
This commit is contained in:
Giteabot 2023-07-26 18:34:55 +08:00 committed by Earl Warren
parent 28f4029e40
commit f3c26de1f4
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -3,6 +3,6 @@
height: auto;
}
.asciinema-terminal {
.ap-terminal {
overflow: hidden !important;
}