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

Make product card label visible #226

Merged
merged 1 commit into from
Nov 22, 2022
Merged

Make product card label visible #226

merged 1 commit into from
Nov 22, 2022

Conversation

cartogram
Copy link
Contributor

Small PR to bring the Product label above the image.

Screenshot 2022-11-22 at 15 28 19

Copy link
Contributor

@lordofthecactus lordofthecactus left a comment

Choose a reason for hiding this comment

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

className="absolute top-0 right-0 m-4 text-right text-notice"
>
{cardLabel}
</Text>
Copy link
Contributor

Choose a reason for hiding this comment

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

interesting does html ordering affect absolute visibility?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, last in the dom is going to have a higher z-index. Saves us having to set the z-index manually.

@cartogram cartogram merged commit 2795eb5 into main Nov 22, 2022
@cartogram cartogram deleted the product-grid-tag branch November 22, 2022 14:40
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.

2 participants