05-07-2018 06:21 AM
Hi,
i used yeoman in order to generate my adf content app.
(GitHub - Alfresco/generator-ng2-alfresco-app: Yeoman Generator Angular 2 Alfresco Application )
I would like to change logo size on login page and i have found this doc :
I use also Webstorm (see "Styling your Login page" in documentation)
but the login.component file used in my project is located in : /node_modules/@alfresco/adf-core/login/components
So i have installed adf login component : Alfresco Angular 2 Components Catalog but i don't know how to change the LoginModule that is loading (it's always the same) ...
Thank you in advance
05-07-2018 06:28 AM
I have added LoginModule in my app module :
I work with new version : 2.3.0
and this my html page :
<adf-login
[backgroundImageUrl]="'./assets/images/loginbg.png'"
[logoImageUrl]="'./assets/images/klinck.png'"
providers="ECM"
[showLoginActions]="false"
[showRememberMe]="false"
(success)="loadData($event)">
</adf-login>
05-07-2018 08:20 AM
Found !
no need to import ng2-alfresco-login, just add to the component in order to override Style
encapsulation: ViewEncapsulation.None
05-08-2018 07:16 AM
Note, you are probably using an old version of ADF
Explore our Alfresco products with the links below. Use labels to filter content by product module.