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

jquery.toolbar with Bootstrap 3.0.3 isn't display correctly. #43

Open
ghernandezr opened this issue Jun 4, 2015 · 6 comments
Open

jquery.toolbar with Bootstrap 3.0.3 isn't display correctly. #43

ghernandezr opened this issue Jun 4, 2015 · 6 comments

Comments

@ghernandezr
Copy link

When I use jquery.toolbar with bootstrap 3.0.3, the button and menu isn't display correctly.


jquery toolbar with bootstrap 3 0 3

@ghernandezr
Copy link
Author

I find a solution doing my own jquery.toolbar.bootstrap3.css and puting this styles:


.btn-toolbar{
    width: 35px;
    height: 35px;
    line-height: 2px;
}
.tool-item{
      width: 35px;
      height: 100%;
}

maybe you can find better solution.

@ihmcjacky
Copy link

@ghernandezr Thx for the hotfix, it works perfectly, hope for integrating to master branch

@hoigo
Copy link

hoigo commented Sep 4, 2015

This worked for me (inside my css file):

  • {
    -webkit-box-sizing: content-box;
    }

@smeinecke
Copy link

It seems as Bootstrap overwrites default value of box-sizing for all elements by following CSS rule:

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

So, you probably have to add:

.tool-container, .tool-item, .btn-toolbar {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

@bzkdjc
Copy link

bzkdjc commented Dec 19, 2015

@smeinecke That deserves a Thank you!

Oxicode added a commit to Oxicode/toolbar that referenced this issue Apr 1, 2016
paulkinzett added a commit that referenced this issue Apr 1, 2016
Fix Bootstrap 3, issues #43 fix 43
@LeShrimp
Copy link

LeShrimp commented Apr 12, 2018

This "Fix" does not work if you want to use Bootstrap 3 Button toolbars. I ran into this problem today and wondered about the strange rendering of my Buttons on certain pages.

The problem here is a naming collision with Bootstrap 3: https://getbootstrap.com/docs/3.3/components/#btn-groups-toolbar

Maybe a more satisfying solution would be to rename the .btn-toolbar class to something else?

betgar pushed a commit to oneofjs/toolbar that referenced this issue Aug 12, 2021
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

6 participants