Skip to content
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

Site global H1 "floats" in over the navigation in Chrome #8

Open
rastersize opened this issue May 11, 2013 · 2 comments
Open

Site global H1 "floats" in over the navigation in Chrome #8

rastersize opened this issue May 11, 2013 · 2 comments
Assignees

Comments

@rastersize
Copy link
Owner

Site global H1 "floats" (i.e. "Aron Cedercrantz") in over the navigation in Chrome (verified on OS X and Windows).

@ghost ghost assigned rastersize May 11, 2013
@theory
Copy link

theory commented Jul 6, 2013

I fixed this by adding this hack:

/* WTF Chrome? Hack: http://stackoverflow.com/a/13587388/79202 */
@media screen and (-webkit-min-device-pixel-ratio:0) {
  h1 { left: 0.9em; }
}

Probably not the correct fix, but it makes it look okay.

@theory
Copy link

theory commented Jul 8, 2013

Better fix:

  1. Reverse the h1 and h2 lines in header.html.
  2. Delete the position, display, and top rules from the h1 CSS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants