Angular UI Bootstrap Dialog Width

后端 未结 4 1949
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-07 03:36

The Angular UI Bootstrap Dialog is easy to implement, but difficult to customise.

How on earth do you change the width? Or even max-width?

http://angular-ui.gith

4条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-07 04:18

    Inspect a dialog in browser console will see that width is set with css only. Options in docs allow for user defined class names on body and/or on dialog so you can adjust for various types within page

    Docs reference: https://github.com/angular-ui/bootstrap/blob/master/src/modal/docs/readme.md

提交回复
热议问题