We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I know Foundation support is planned for 4.0 (#1212). This is a bug I found with using Font Awesome in Foundation.
I have an icon in my top bar navigation. This icon isn't aligned like my text. Screenshot:
After digging through the CSS I found the problem. In Font Awesome we have the following CSS:
[class^="icon-"], [class*=" icon-"]{ line-height: normal; }
This is overriding the CSS for Foundation's Top Bar which is:
.top-bar-section li a:not(.button){ line-height: 45px; }
Thus the Font Awesome Icon doesn't display correctly. I was able to correct this using the following CSS:
.top-bar-section li a:not(.button) .icon-search { line-height: 45px !important; }
I would love to see this issue fixed in 4.0.
Thank You!
The text was updated successfully, but these errors were encountered:
It should be automatically fixed with the new syntax, because there should be no need of line-height hacks here and there
line-height
Sorry, something went wrong.
refers to #730
@tagliala - You were correct. I just updated the site I was having this issue on to FA 4.0.1 and it works fine now. =>
@Lynda333 glad to hear that, because unfortunately we had to include line-height: 1 in the base class
line-height: 1
No branches or pull requests
I know Foundation support is planned for 4.0 (#1212). This is a bug I found with using Font Awesome in Foundation.
I have an icon in my top bar navigation. This icon isn't aligned like my text. Screenshot:
After digging through the CSS I found the problem. In Font Awesome we have the following CSS:
This is overriding the CSS for Foundation's Top Bar which is:
Thus the Font Awesome Icon doesn't display correctly. I was able to correct this using the following CSS:
I would love to see this issue fixed in 4.0.
Thank You!
The text was updated successfully, but these errors were encountered: