Skip to content

Commit e485b49

Browse files
committed
Unraid Fallout Addon: video scaling fix
1 parent 1f6f9a9 commit e485b49

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

css/addons/unraid/login-page/fallout/fallout-base.css

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
outline: none;
88
}
99

10-
@media (max-width: 500px) {
10+
@media only screen and (max-width: 500px) {
1111
#login {
1212
-webkit-backdrop-filter: blur(0px);
1313
backdrop-filter: blur(0px);
@@ -53,12 +53,11 @@ body {
5353
left: 0;
5454
}
5555
#video-bg-elem {
56-
display: block;
5756
position: absolute;
58-
left: 50%;
59-
top: 50%;
60-
transform: translate(-50%, -50%);
61-
z-index: 1;
57+
top: 0;
58+
left: 0;
59+
min-height: 100%;
60+
min-width: 100%;
6261
}
6362
/*TEXT COLOR*/
6463
#login h1,

css/addons/unraid/login-page/fallout/fallout_video.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,12 @@
2525
https://www.colourlovers.com/palette/3428762/Fallout?widths=1
2626
*/
2727
}
28-
@media (max-width: 500px) {
28+
@media only screen and (max-width: 500px) {
2929
body {
3030
background: url(/css/addons/unraid/login-page/fallout/wallpaper/terminal.jpg) center center/cover no-repeat fixed !important;
3131
}
3232
:root {
33-
--div-background-color-15: transparent;
33+
--div-background-color-15: transparent;
34+
--main-bg-color: url(/css/addons/unraid/login-page/fallout/wallpaper/terminal.jpg) center center/cover no-repeat fixed;
3435
}
3536
}

0 commit comments

Comments
 (0)