How to apply different CSS(styling) for multiple igx-dialog in same component
New DiscussionIn my page I have multiple igx-dialog compoenents.
For example
<igx-dialog #dialog1 leftButtonLabel=”Cancel” rightButtonLabel=”OK” >
<igx-dialog #dialog2 leftButtonLabel=”Cancel” rightButtonLabel=”SAVE” >
For dialog1 and dialog2 I wanted to have different styling i.e., apply different font, different back ground color – different CSS
The below CSS is applying to all dialog boxes which I don’t want.How can I differentiate?
(Tried adding id and class to igx-dialog tag didn’t work)
.igx-dialog__window
position: relative;
min-width: 17.5rem;
border-radius: 4px;
background: #fff;
}
Sign In
to post a reply
Replies
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
Favorites
0 Replies
3 Created On
Aug 30, 2021 Last Post
4 years, 6 months ago