-
Notifications
You must be signed in to change notification settings - Fork 422
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
Using iconic in bootstrap buttons #34
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
today I tried to use open-iconic inside a button in bootstrap v4. Problem is: when applying the class
.oi
, the button is slightly shifted downward (.oi
hastop: 1px
in it). This is a bit of a problem when using.input-group-append
or.input-group-prepend
.Example fiddle produces the following image (note the button shifted downward)
I also tried placing the text inside a
<span>
element, but this would raise another set of issues while using bootstrap. So, I merely added a CSS rule to my stylesheet:This being said, I don't understand the purpose of having 1px offset on
.oi
classes, but I am suspecting that I should not be using things in this way, or that open-iconic shall remove that offset when used inside a button.Thanks
best regards
The text was updated successfully, but these errors were encountered: