Open wgsl2005 opened 6 years ago
Hi @wgsl2005,
I think changing the CSS of .modal-content
class works great.
.modal-content {
font-family: XXX
}
Also, try setting ViewEncapsulation.None
if it still doesn't work.
@Component({
selector: .....
templateUrl: .....
encapsulation: ViewEncapsulation.None
})
thanks celestale. .modal-body{font-family: XXX} seems also work for me
I have this wonderful dialog set up for our application - looks great! but I want to use a different font instead of the the default Helvetica. I have tried the inline CSS in the dialog body html, but didn't work. Should I change anything from bootstrap css? Can anybody tell me how to use our own font for the dialog? thanks, Alex