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

Feature Request: Plain text in Dropdowns #21772

Closed
CTMiner opened this issue Jan 18, 2017 · 4 comments
Closed

Feature Request: Plain text in Dropdowns #21772

CTMiner opened this issue Jan 18, 2017 · 4 comments

Comments

@CTMiner
Copy link

CTMiner commented Jan 18, 2017

A nice ability would be to add plain text in a dropdown menu instead of only <a> and <button> elements. Currently this can be more or less done with a.disabled, but being able to use a <p> or <span> element would be nice, and would also remove having the disabled cursor. Behavior could be like .navbar-text is to a navbar.

Example usage, short username on navbar and full username on menu to save valuable navbar space:
capture

@Quy
Copy link
Contributor

Quy commented Jan 18, 2017

It can be done with Menu Headers.
https://v4-alpha.getbootstrap.com/components/dropdowns/#menu-headers

@CTMiner
Copy link
Author

CTMiner commented Jan 19, 2017

Would be nice not not need a header. I personally find the headers annoying to the eye for something as short as this. Also, in the context of this menu "User" or "Profile" would be a more appropriate header.

@Quy
Copy link
Contributor

Quy commented Jan 19, 2017

You can use the .dropdown-header on any tags and override the font size in your custom css.

@guylepage3
Copy link

I feel this is something that can be added in on the developer's end and just adds extra added weight to the project. imo

@mdo mdo modified the milestone: v4.1 ideas Jan 21, 2017
@mdo mdo added the feature label Mar 28, 2017
@mdo mdo added the has-pr label Jul 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants