角UI引导对话框宽度 [英] Angular UI Bootstrap Dialog Width
问题描述
该角UI引导对话是很容易实现,但很难定制。
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?
<一个href=\"http://angular-ui.github.com/bootstrap/#/dialog\">http://angular-ui.github.com/bootstrap/#/dialog
我试过 $ dialog.dialog({宽度:600})。
和其他变化,但没有喜悦
I've tried $dialog.dialog({width:600})
and other variations but no joy.
推荐答案
在检查浏览器控制台,一个对话框会看到宽度设置仅适用于CSS。在文档选项允许对机体用户定义的类名和/或对话框,从而页面内各类调整
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
文档参考: https://开头的github .COM /角度的UI /引导/ BLOB /主/ src目录/莫代尔/文档/ readme.md
这篇关于角UI引导对话框宽度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!