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

Obstructed content #21

Open
TWiStErRob opened this issue Mar 31, 2016 · 0 comments
Open

Obstructed content #21

TWiStErRob opened this issue Mar 31, 2016 · 0 comments

Comments

@TWiStErRob
Copy link

The trick you use to be able to deep-link into an article obstructs the area above the heading.

Try clicking on the word "software" at:

By the way, if you need excellent quality software translation, I know someone that's been translating software for more than 25 years. Yes, he is my father :) . -- http://www.piwai.info/android-string-placeholders/

image

To work around this you can minimize the impact of the "offset because overlay menu" hack:

*:target::before {
    content: " ";
    width: 0;
    height: 0;
    display: block;
    padding-top: 50px;
    margin-top: -50px;
}
  1. This will only add fake padding-margin when needed
  2. The fake padding-margin area is not clickable

You can try this solution at http://www.twisterrob.net/project/inventory/ and you can find source here.

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

1 participant