MOBILE-3912 login: Hide all need help buttons when sass var is present
parent
13509e6683
commit
800ff3a4d8
|
@ -15,12 +15,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
@if ($core-login-hide-need-help) {
|
||||
.core-login-need-help {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.core-login-site-connect {
|
||||
margin-top: 1.4rem;
|
||||
}
|
||||
|
|
|
@ -33,6 +33,7 @@ import { CoreNavigator } from '@services/navigator';
|
|||
import { CoreCustomURLSchemes, CoreCustomURLSchemesHandleError } from '@services/urlschemes';
|
||||
import { CoreTextUtils } from '@services/utils/text';
|
||||
import { CoreForms } from '@singletons/form';
|
||||
import { AlertButton } from '@ionic/core';
|
||||
|
||||
/**
|
||||
* Site (url) chooser when adding a new site.
|
||||
|
@ -386,9 +387,10 @@ export class CoreLoginSitePage implements OnInit {
|
|||
message += '<p padding><a href="' + fullUrl + '" core-link>' + url + '</a></p>';
|
||||
}
|
||||
|
||||
const buttons = [
|
||||
const buttons: AlertButton[] = [
|
||||
{
|
||||
text: Translate.instant('core.needhelp'),
|
||||
cssClass: 'core-login-need-help',
|
||||
handler: (): void => {
|
||||
this.showHelp();
|
||||
},
|
||||
|
|
|
@ -1149,3 +1149,9 @@ iframe {
|
|||
max-width: 100%;
|
||||
background-color: var(--ion-background-color);
|
||||
}
|
||||
|
||||
@if ($core-login-hide-need-help) {
|
||||
.core-login-need-help {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue