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

(Dropdown): when used as Menu Item, 'description' overlays 'text' #2031

Closed
hubertguillemain opened this issue Aug 31, 2017 · 1 comment
Closed

Comments

@hubertguillemain
Copy link

✖ CSS ISSUES → Post on https://github.com/Semantic-Org/Semantic-UI

✖ USAGE QUESTIONS → Use these dedicated resources:
Docs - http://react.semantic-ui.com
Chat - https://gitter.im/Semantic-Org/Semantic-UI-React
SO - http://stackoverflow.com/search?q=semantic-ui-react

✔ BUGS → This form is required:

Steps

Create a dropdown as a menu item (either child of <Menu.Item> or with prop item, which has a text and the description

Expected Result

Description displays inline with text, floated right

Actual Result

Description overlays text

Version

0.72.0

Testcase

https://codepen.io/youbi/pen/BdvGrw?editors=0010

@levithomason
Copy link
Member

Looks like a valid issue, however, it is due to the CSS. Please post at https://github.com/Semantic-Org/Semantic-UI.

Workaround

You can explicitly set the width of the item to allow it to fit. Here's a working fork:

https://codepen.io/levithomason/pen/RLWYpK

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

2 participants