...
|
...
|
@@ -68,16 +68,17 @@ export const usePlatform = async () => { |
68
|
68
|
.vben-login::before{
|
69
|
69
|
background-image:url("${background || lightThemeBgImage}");
|
70
|
70
|
position:absolute;
|
|
71
|
+ background-size: ${background ? '100%' : 'auto'} 100% !important;
|
71
|
72
|
margin-left: ${background ? 0 : '-48%'} !important;
|
72
|
73
|
}
|
73
|
74
|
html[data-theme='dark'] .vben-login::before{
|
74
|
75
|
background-image:url("${background || darkThemeBgImage}");
|
75
|
76
|
position:absolute;
|
|
77
|
+ background-size: ${background ? '100%' : 'auto'} 100% !important;
|
76
|
78
|
margin-left: ${background ? 0 : '-48%'} !important;
|
77
|
79
|
}
|
78
|
80
|
`;
|
79
|
81
|
|
80
|
|
- console.log(styleEl);
|
81
|
82
|
document.head.appendChild(styleEl);
|
82
|
83
|
};
|
83
|
84
|
|
...
|
...
|
|