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

使用dropdowm 改变宽度时不灵活 #31

Closed
ghost opened this issue Sep 24, 2016 · 1 comment
Closed

使用dropdowm 改变宽度时不灵活 #31

ghost opened this issue Sep 24, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Sep 24, 2016

当div.dropdown 设置宽度的时候,内容下面的div.dropdown>.dropdown-menu 并不会随之改变。若以插件的角度来看待,他们应该同时改变。

@catouse
Copy link
Collaborator

catouse commented Sep 27, 2016

我的观点与你恰恰相反,如果 .dropdown-menu 的宽度与 .dropdown 宽度一致将会限制下拉菜单使用场景,在按钮组中过小的宽度会有糟糕的体验。下拉菜单是浮现在页面之上的,任何时候都应该有合适的尺寸来显示菜单内容。如果你要定制 .dropdown-menu 的宽度非常简单,你可以使用 CSS 按需设置 width 值。

@catouse catouse closed this as completed Oct 10, 2016
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

1 participant