Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
365
IGX Dialog CSS issue
posted

Hi , we are using multiple child components in one parent and each child component uses igx dialog . each have there own width , height , overflow etc. To make some customization we are overriding   igx dialog window class.

.igx-dialog__window {
        max-height: 70%;
        width: 60%;
        position: fixed;
        top: 15%;
        left: 20%;
        background: #fff;
        z-index: 1;
        overflow: auto;
    }
in certain child components this is not working and we have to use ::ng-deep to make it work. if we use :: ng-deep it is applied globally and we dont want that. 
tried using :host ::ng-deep that also seems to not work. any recommendations on how to set the custom css styles to individual child compone nts igx dialog  or can we apply  any custom class to the igx dialog directive and customize css for that dialog rather than applying for  .igx-dialog__window  as generic
Parents Reply Children
No Data