简体   繁体   中英

Nebular Ngx-admin , how can i change width of nb-auth-block from 35 rem to full width

I created a new component for login and register, and i want to change the width of the content, but the nb-auth-block tag has always max-width:35rem; I tried to change it in auth.component.scss but didn't work, and everywhere in code where it was 35rem.

How can i change the width of nb-auth-block to full-width?

Thank you.

I resolved the problem adding

nb-auth-block{
  max-width: inherit!important;
}

in src\\app@theme\\styles\\styles.scss

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM