Skip to content

Instantly share code, notes, and snippets.

@ginsterbusch
Last active August 29, 2015 14:20
Show Gist options
  • Save ginsterbusch/88316b32f0f4618cab9e to your computer and use it in GitHub Desktop.
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/
/**
* 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