Last active
August 29, 2015 14:20
-
-
Save ginsterbusch/88316b32f0f4618cab9e to your computer and use it in GitHub Desktop.
quick fix for the unintentional line break in the nav bar at https://cologne.wordcamp.org/2015/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Fix with em | |
*/ | |
.main-navigation a { | |
font-size: 1.5em; | |
} | |
/** | |
* Fix with rem | |
*/ | |
.main-navigation a { | |
font-size: 1.4rem; | |
} | |
/** | |
* NOTE: My personal guess is it's some "bug" related with how each different browser renders font-size: 100%. | |
* So if you don't test your site in each major browser, stuff like this will continue to happen .. | |
* .. yep, even in the year 2015, you gotta do that ;) | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment