MOBILE-3720 env: Remove Shadow DOM encapsulation

main
Noel De Martin 2021-03-09 12:59:08 +01:00
parent 0ce486ce9d
commit fe831d13cb
3 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,4 @@
<slot></slot>
<ng-content></ng-content>
<ion-button fill="clear" [attr.aria-label]="label | translate" core-suppress-events (onClick)="toggle($event)">
<ion-icon [name]="iconName" slot="icon-only"></ion-icon>
</ion-button>

View File

@ -13,7 +13,7 @@
}
}
::slotted(ion-input) {
::ng-deep ion-input {
--padding-end: 47px !important;
}

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
import { Component, OnInit, AfterViewInit, Input, ElementRef, ContentChild, ViewEncapsulation } from '@angular/core';
import { Component, OnInit, AfterViewInit, Input, ElementRef, ContentChild } from '@angular/core';
import { IonInput } from '@ionic/angular';
import { CoreApp } from '@services/app';
@ -37,7 +37,6 @@ import { CoreUtils } from '@services/utils/utils';
selector: 'core-show-password',
templateUrl: 'core-show-password.html',
styleUrls: ['show-password.scss'],
encapsulation: ViewEncapsulation.ShadowDom,
})
export class CoreShowPasswordComponent implements OnInit, AfterViewInit {