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

UI: Time Badges block Description #2743

Closed
flomero opened this issue Nov 22, 2023 · 3 comments
Closed

UI: Time Badges block Description #2743

flomero opened this issue Nov 22, 2023 · 3 comments
Labels
frontend issues that affect frontend (Vue/JS) or only django template code

Comments

@flomero
Copy link

flomero commented Nov 22, 2023

Tandoor Version

1.5.6

Setup

Docker / Docker-Compose

Reverse Proxy

Nginx Proxy Manager (NPM)

Other

No response

Bug description

the time badges on recipe cards block the description, which comes up on hover:

image

expected behavior:

image

while on it I noticed, that the overlay doesn't cover the whole image. Is there a specific reason for .content-overlay to have height: 99%; on it instead of 100%?

would gladly create a pull request if this gets assigned to me ✌🏼

Relevant logs

No response

@vabene1111 vabene1111 added the frontend issues that affect frontend (Vue/JS) or only django template code label Nov 27, 2023
@vabene1111
Copy link
Collaborator

i kinda suck at css so I copied that from some tutorial, so no idea why its 99%. I changed it to 100%.

Is there an easy fix for the layering as well? Feel free to open a PR or just post the css here and I will include it.

@flomero
Copy link
Author

flomero commented Nov 30, 2023

unfortunately i can't get the dev setup to work right now :/ #2760

if you add the following to the css it should hide the time badges while a card is hovered:

.content:hover .card-img-overlay {
    opacity: 0;
}

@vabene1111
Copy link
Collaborator

thanks, that does the trick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend issues that affect frontend (Vue/JS) or only django template code
Projects
None yet
Development

No branches or pull requests

2 participants