Skip to content
This repository has been archived by the owner on Jun 26, 2018. It is now read-only.

Make GitHub ribbon clickable in small viewports #14

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

pedromaltez
Copy link

Builds on top of #11 (please merge it first), so just look at 964b6f3 - the second commit.

At around 1240px wide the GitHub fork me ribbon div starts to slide under the LibSass logo and gradually becomes unclickable. I noticed this because I have my browser at half the screen width most of the time, and kept being taken back to libsass.com while clicking the ribbon.

The two obvious solutions to me are either to move the ribbon below the LibSass logo (thereby automatically placing the ribbon on top of the LibSass logo), or to add z-index:1 to the style attribute of the image. I chose the first option because I think that the LibSass logo should come first anyway (after all, the project page is about LibSass), but I can change it to the z-index option instead if preferred.

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

Successfully merging this pull request may close these issues.

1 participant