File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -32,16 +32,17 @@ export const LoginPageView: FC<LoginPageViewProps> = ({
32
32
const applicationName = getApplicationName ( ) ;
33
33
const logoURL = getLogoURL ( ) ;
34
34
const applicationLogo = logoURL ? (
35
- < div >
36
- < img
37
- alt = { applicationName }
38
- src = { logoURL }
39
- // This prevent browser to display the ugly error icon if the
40
- // image path is wrong or user didn't finish typing the url
41
- onError = { ( e ) => ( e . currentTarget . style . display = "none" ) }
42
- onLoad = { ( e ) => ( e . currentTarget . style . display = "inline" ) }
43
- />
44
- </ div >
35
+ < img
36
+ alt = { applicationName }
37
+ src = { logoURL }
38
+ // This prevent browser to display the ugly error icon if the
39
+ // image path is wrong or user didn't finish typing the url
40
+ onError = { ( e ) => ( e . currentTarget . style . display = "none" ) }
41
+ onLoad = { ( e ) => ( e . currentTarget . style . display = "inline" ) }
42
+ css = { {
43
+ maxWidth : "200px" ,
44
+ } }
45
+ />
45
46
) : (
46
47
< CoderIcon fill = "white" opacity = { 1 } className = { styles . icon } />
47
48
) ;
You can’t perform that action at this time.
0 commit comments