Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Now-Modal - change size --- Now Experience

Tommy Jensen
Giga Guru

I have use a now-modal in my component but I want it bigger than "lg" how can I do that?

I assume I need to use :host in CSS. I have tried this in the component styles.scss:

 

:host(now-modal) {
  max-width: 98%;
  width: 80%;
}
7 REPLIES 7

I have done that already. Nothing changes the size. Regardless if I use %, px or rem sizes.

Mah2
Tera Contributor

any solution of this, I am also facing same issue 

Kevin83
ServiceNow Employee