1
0
Эх сурвалжийг харах

WebUIs: update the css to hide the theme hard coded background image

Signed-off-by: Nicola Murino <[email protected]>
Nicola Murino 2 жил өмнө
parent
commit
1cbaa7c77b

+ 2 - 2
templates/common/sftpgo.css

@@ -45,10 +45,10 @@
         }
 
         .bg-login-image {
-            background-image: url('{{.StaticURL}}{{.Branding.LoginImagePath}}');
+            background: url('{{.StaticURL}}{{.Branding.LoginImagePath}}');
             background-size: contain;
             background-repeat: no-repeat;
-            padding: 1em;
+            background-position: center;
         }
 
         .row.login-image {