I need help with writing SCSS to style some element that is in #shaddow-root in DOM in my Angular+Ionic 6 app.
Here is the image how the DOM looks like;
I want to give the class="input-wrapper" some fixed height but am unable to apply it.
Here is my SCSS code:
ion-item {
&::part(native) {
.item-inner {
.input-wrapper {
height: 30px;
}
}
}
}
I have also tried this:
:host(ion-item)::ng-deep #shadow-root .input-wrapper {
height: 30px;
}
What am I doing wrong?