diff --git a/packages/xgplayer/src/plugins/danmu/index.scss b/packages/xgplayer/src/plugins/danmu/index.scss index 2368bc3a..b57acb70 100644 --- a/packages/xgplayer/src/plugins/danmu/index.scss +++ b/packages/xgplayer/src/plugins/danmu/index.scss @@ -50,9 +50,10 @@ $sliderDragAfterShadow: 0 0 5px 0 rgba(0, 0, 0, 0.26); outline: none; > * { position: absolute; + } + * { white-space: nowrap; } - } }