render comment attachments in danmaku

This commit is contained in:
2026-05-17 10:37:42 +02:00
parent 838883bd6d
commit 2c67ccb803
2 changed files with 51 additions and 4 deletions

View File

@@ -489,6 +489,25 @@
margin: 0 2px;
}
/* Inline video (converted GIF) in pill */
.danmaku-pill .dpill-video {
max-height: 80px;
max-width: 120px;
width: auto;
height: auto;
vertical-align: middle;
object-fit: contain;
display: inline-block;
border-radius: 4px;
margin: 0 2px;
}
/* Audio indicator in pill */
.danmaku-pill .dpill-audio {
vertical-align: middle;
font-size: 0.9em;
}
@keyframes danmaku-fly {
from { transform: translateX(calc(100vw + 100%)); }
to { transform: translateX(calc(-100% - 200px)); }