File tree Expand file tree Collapse file tree 5 files changed +8
-10
lines changed Expand file tree Collapse file tree 5 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -93,11 +93,8 @@ ion-app.app-root page-core-login-site {
9393 }
9494
9595 .core-login-site-logo {
96- margin-top : 5px ;
97- margin-bottom : 5px ;
98- img {
99- width : 90% ;
100- max-width : 300px ;
101- }
96+ width : 90% ;
97+ max-width : 300px ;
98+ margin : 5px auto ;
10299 }
103100}
Original file line number Diff line number Diff line change 1414 < div text-wrap text-center margin-bottom >
1515 < div class ="core-login-site-logo ">
1616 <!-- Show site logo or a default image. -->
17- < img *ngIf ="logoUrl " [src] ="logoUrl " role ="presentation ">
17+ < img *ngIf ="logoUrl " [src] ="logoUrl " role ="presentation " onError =" this.src='assets/img/login_logo.png' " >
1818 < img *ngIf ="!logoUrl " src ="assets/img/login_logo.png " role ="presentation ">
1919 </ div >
2020
Original file line number Diff line number Diff line change 1414
1515 < div class ="core-login-site-logo " *ngIf ="!showSiteAvatar ">
1616 <!-- Show site logo or a default image. -->
17- < img *ngIf ="logoUrl " [src] ="logoUrl " core-external-content [siteId] =" siteId " role =" presentation ">
17+ < img *ngIf ="logoUrl " [src] ="logoUrl " role =" presentation " onError =" this.src='assets/img/login_logo.png' ">
1818 < img *ngIf ="!logoUrl " src ="assets/img/login_logo.png " role ="presentation ">
1919 </ div >
2020
Original file line number Diff line number Diff line change @@ -105,8 +105,8 @@ export class CoreLoginReconnectPage {
105105 // Check logoURL if user avatar is not set.
106106 if ( this . site . avatar . startsWith ( site . infos . siteurl + '/theme/image.php' ) ) {
107107 this . showSiteAvatar = false ;
108- this . logoUrl = this . loginHelper . getLogoUrl ( config ) ;
109108 }
109+ this . logoUrl = this . loginHelper . getLogoUrl ( config ) ;
110110
111111 this . getDataFromConfig ( this . siteConfig ) ;
112112 } ) . catch ( ( ) => {
Original file line number Diff line number Diff line change @@ -54,7 +54,8 @@ ion-app.app-root page-core-login-site {
5454 & .hidden {
5555 opacity : 0 ;
5656 visibility : hidden ;
57- margin : 0 ;
57+ margin-top : 0 ;
58+ margin-bottom : 0 ;
5859 padding : 0 ;
5960 max-height : 0 ;
6061 }
You can’t perform that action at this time.
0 commit comments