You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Login.js replace this.containerRef.current.style.background = url(${backgroundImage});
with this.containerRef.current.style.backgroundImage = url(${backgroundImage});
Environment
React-admin version: 2.5.0
The text was updated successfully, but these errors were encountered:
ai-matulis
changed the title
Background is not 'cover' if custom image used for Login page
Background image not covering entire page if custom image used for Login page
Nov 30, 2018
Background position is set to
auto
instead ofcover
if custom image used for Login pageFix:
In Login.js replace
this.containerRef.current.style.background =
url(${backgroundImage});
with
this.containerRef.current.style.backgroundImage =
url(${backgroundImage});
Environment
The text was updated successfully, but these errors were encountered: