Fix download video panel overflow

This commit is contained in:
the1812 2019-10-31 23:27:41 +08:00
parent fccd4a976b
commit 44cd93106d
8 changed files with 12 additions and 13 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -45,7 +45,7 @@
"download-audio.min.js": "96245533BB7FCB3297F0049198BB29B3D41CE85B4BE77DA2AE20931A25C7401E",
"download-danmaku.min.js": "B462990C301C924B64687A734A02396B621A939EAC422B96868F49D615D77927",
"download-video-package.min.js": "13FE4E54C20669A6726DAFDA4D9433D8AE495530494E5C8A989FB6EDC28D7F85",
"download-video.min.css": "E202F8D990E50F8AFF3C587A49F71A125CC51825BB6DA19FDCD5A8F7E216EDBF",
"download-video.min.css": "B570412DD5A8AA9C10020600084CE5EB520E92CDDA03B78450E6480B6A60DB3C",
"download-video.min.html": "4311ABAF2886EB02B1003EA864DD605B113CDB05FF04C3A6882AD931F320D216",
"download-video.min.js": "FDB542A9E1CD6D667048F22A8868E91ACF333ADBE9B0D053549476C56FC433E2",
"dpi-img.vue.min.js": "3D9D93079365DCABA8DC8970F051AD1A7F25C3EFFF850CD1000C4312E9B910DD",

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -1,10 +1,10 @@
.download-video {
--download-video-background: white;
--download-video-foreground: black;
position: fixed;
top: 50%;
position: absolute;
top: 64px;
left: 50%;
transform: translate(-50%, -50%) scale(0.95);
transform: translateX(-50%) scale(0.95);
background: var(--download-video-background);
color: var(--download-video-foreground);
box-shadow: rgba(0, 0, 0, 0.2) 0 4px 8px 0px;
@ -17,7 +17,6 @@
flex-direction: column;
align-items: stretch;
justify-content: space-between;
max-height: 90%;
&,
* {
@ -27,7 +26,7 @@
&.opened {
pointer-events: initial;
opacity: 1;
transform: translate(-50%, -50%) scale(1);
transform: translateX(-50%) scale(1);
}
body.dark & {
--download-video-background: #222;