Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dialog.xxx 静态调用方式时,样式中写死了 max-width,导致 props 中转入的 width 针对内容无效 #39

Open
ex90rts opened this issue Nov 13, 2018 · 3 comments

Comments

@ex90rts
Copy link
Contributor

ex90rts commented Nov 13, 2018

refs:#12

目前 -title 和 -body-main 被写死了 max-width,导致 props 传入的 width 针对 content 和 title 其实是无效的,行为不一致。建议 max-width 不要在 less 中写死,而是通过 width 计算出来。

@ex90rts
Copy link
Contributor Author

ex90rts commented Nov 13, 2018

如果 DeepUI 对于这种弹窗有强制的宽度约定的话,可以展开讨论。

@eternalsky
Copy link
Member

对于小弹窗是有宽度限制的,不让修改大小。大弹窗是可以的。

@sunyuis
Copy link
Collaborator

sunyuis commented Dec 26, 2018

静态调用一般用于简单提示,其宽度遵循DeepUI规范,强制约束保证了交互上的一致性

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants