-
-
Notifications
You must be signed in to change notification settings - Fork 78.5k
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
Inline-block spacing with minified html #14401
Comments
This is a problem with your minifier, not with Bootstrap. |
Thank you I was using https://www.npmjs.org/package/gulp-minify-html which didn't have that option. I also didnt know what you would call an option like that or if it was possible. But I just switched to using https://www.npmjs.org/package/gulp-html-minifier which is a gulp wrapper for the minfier you linked. Anyways thank you very much this was very helpful and that minifier has a lot more options which is nice. |
X-Ref: #16163 |
Hello when you have buttons in a row and you are minifying your html then they end up with no spacing on the right and left sides. You can add a marigin left/right of 2px to mimic the spacing. But this doesn't fix all elements because it also affects input groups and probably several other things. This also inst perfect even if you applied it to all the right elements because it leave an extra 2px on your first element.
Here is an example
![inline block spacing](https://cloud.githubusercontent.com/assets/5204642/3936788/0ab16362-24a6-11e4-9459-21cbc526c3b6.png)
The text was updated successfully, but these errors were encountered: