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

Adjust metadata spacing in image card #390

Merged
merged 1 commit into from Jun 26, 2018
Merged

Conversation

andysellick
Copy link
Contributor

@andysellick andysellick commented Jun 26, 2018

@@ -59,6 +59,7 @@
}

.gem-c-image-card__context,
.gem-c-image-card__metadata,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does this do? I can't see the difference between having this here and not.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The main link has a pseudo element that covers the whole component in order to make the image clickable without duplicating the link. Any other elements that should be not underneath this pseudo element (particularly other links) have a higher z-index.

@andysellick andysellick merged commit b755aab into master Jun 26, 2018
@andysellick andysellick deleted the image-card-spacing branch June 26, 2018 12:24
@andysellick andysellick mentioned this pull request Jun 26, 2018
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

Successfully merging this pull request may close these issues.

None yet

3 participants