diff --git a/src/pages/index/index.scss b/src/pages/index/index.scss index cb3c02e..bcef264 100644 --- a/src/pages/index/index.scss +++ b/src/pages/index/index.scss @@ -81,13 +81,12 @@ } .danmaku-box { - width: 100%; + width: 100vw; height: 420px; - .danmaku { position: absolute; - width: 100%; + width: 100vw; height: 420px; top: 0; z-index: 1;