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

IconMenu broken by Bootstrap Grid system #2522

Closed
thomasantony opened this issue Dec 15, 2015 · 4 comments · Fixed by #2633
Closed

IconMenu broken by Bootstrap Grid system #2522

thomasantony opened this issue Dec 15, 2015 · 4 comments · Fixed by #2633
Labels
bug 🐛 Something doesn't work

Comments

@thomasantony
Copy link

I have been using react-bootstrap combined with a trimmed down version of Bootstrap CSS (containing only the Grid System) to implement a responsive grid in my material-ui based design. It seems that the icons in Icon Menus get truncated as soon as I include the CSS file.

Example code (uses full bootstrap CSS from the CDN for simplicity):
icon-menu-test.zip

screen shot 2015-12-14 at 7 14 36 pm

I am not entirely sure what in bootstrap is causing this.

@oliviertassinari
Copy link
Member

Could this be linked to #2481?

@thomasantony
Copy link
Author

I followed recommendation by someone on here (which was later deleted for some reason).

Added

{boxSizing: 'content-box'} 

to the svg-icon style. That seems to fix it. Please merge my pull-request #2525

@frnk94
Copy link

frnk94 commented Dec 15, 2015

I deleted because #2481 said exactly what i told u

@thomasantony
Copy link
Author

@frnk94 Okay. My bad! I must have skimmed it and not paid enough attention. Thanks for the help anyway!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants